<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openclonk.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mortimer</id>
	<title>OpenClonk Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openclonk.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mortimer"/>
	<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/w/Special:Contributions/Mortimer"/>
	<updated>2026-04-28T20:55:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1207</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1207"/>
		<updated>2012-04-10T23:46:30Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add section about Eclipse Auto-Refresh&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline also shows types of variables and return types of functions, as inferred by the internal C4Script parser. Of course, since C4Script is relatively dynamic in its nature with eval and arbitrary attribute setting and the like, all those type inferences are without guarantee and might not reflect the true usage of the variable. A question mark following the type signals that the parser detected the possibility of the variable having just about any type so the weather forecast character is even more pronounced in that case.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Type guesses in the form of [x-y: &amp;lt;type&amp;gt;] represent cases where the expression is anticipated to have some array type where the range from x to y is of the given type. There could also be some additional &#039;…&#039; thrown in which would signify that the array will probably have more elements at runtime than those in the specified range.&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Quick Fixes==&lt;br /&gt;
[[File:Eclipse_QuickFix.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;For certain common cases of errors, c4dt offers automatic quick fixes which are offered to you when you press Ctrl/⌘+1 while having the cursor in a script inside a region marked as erroneous/problematic.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;br /&gt;
&lt;br /&gt;
==Auto-Refresh==&lt;br /&gt;
[[File:Eclipse_AutoRefresh.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;When updating your local repository clone, Eclipse tends to get confused because it keeps its own cache of file contents which won&#039;t match with the actual file contents after updating, so messages like &#039;This and that is out of sync with the file system&#039; will pop up. To remedy that, you can open the General-&amp;gt;Workspace preferences and set the settings as shown on the right.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_AutoRefresh.png&amp;diff=1206</id>
		<title>File:Eclipse AutoRefresh.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_AutoRefresh.png&amp;diff=1206"/>
		<updated>2012-04-10T23:44:31Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Eclipse Auto-Refresh preferences&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eclipse Auto-Refresh preferences&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1167</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1167"/>
		<updated>2011-10-25T16:47:02Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline also shows types of variables and return types of functions, as inferred by the internal C4Script parser. Of course, since C4Script is relatively dynamic in its nature with eval and arbitrary attribute setting and the like, all those type inferences are without guarantee and might not reflect the true usage of the variable. A question mark following the type signals that the parser detected the possibility of the variable having just about any type so the weather forecast character is even more pronounced in that case.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Type guesses in the form of [x-y: &amp;lt;type&amp;gt;] represent cases where the expression is anticipated to have some array type where the range from x to y is of the given type. There could also be some additional &#039;…&#039; thrown in which would signify that the array will probably have more elements at runtime than those in the specified range.&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Quick Fixes==&lt;br /&gt;
[[File:Eclipse_QuickFix.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;For certain common cases of errors, c4dt offers automatic quick fixes which are offered to you when you press Ctrl/⌘+1 while having the cursor in a script inside a region marked as erroneous/problematic.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1163</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1163"/>
		<updated>2011-10-16T20:05:15Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Move Quick Fixes up&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Quick Fixes==&lt;br /&gt;
[[File:Eclipse_QuickFix.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;For certain common cases of errors, c4dt offers automatic quick fixes which are offered to you when you press Ctrl/⌘+1 while having the cursor in a script inside a region marked as erroneous/problematic.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1162</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1162"/>
		<updated>2011-10-16T20:04:40Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add note about Quick Fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;br /&gt;
&lt;br /&gt;
==Quick Fixes==&lt;br /&gt;
[[File:Eclipse_QuickFix.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;For certain common cases of errors, c4dt offers automatic quick fixes which are offered to you when you press Ctrl/⌘+1 while having the cursor in a script inside a region marked as erroneous/problematic.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_QuickFix.png&amp;diff=1161</id>
		<title>File:Eclipse QuickFix.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_QuickFix.png&amp;diff=1161"/>
		<updated>2011-10-16T20:03:39Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1160</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1160"/>
		<updated>2011-10-16T20:00:01Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: clear all for good measure!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1159</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1159"/>
		<updated>2011-10-16T19:59:10Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add short description of Clonk Folder view&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;br /&gt;
*The Clonk Folder view enables quick access to packed c4group files inside the game folder of the engine set for the project whose files you are currently editing.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1158</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1158"/>
		<updated>2011-10-16T19:57:54Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: add description about Lookup Declaration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
&amp;lt;p&amp;gt;Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] &#039;&#039;&#039;Hyperlinks&#039;&#039;&#039;: All valid identifiers can be turned into links by pressing Ctrl/⌘ while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). [[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] &#039;&#039;&#039;Open Object Dialog&#039;&#039;&#039;: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:Eclipse_BackForward.png|right]] &#039;&#039;&#039;Going back and forward&#039;&#039;&#039;: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar. On a Mac, you can also install [http://marketplace.eclipse.org/content/eclipse-multi-touch Eclipse Multitouch] to navigate back and forth using gestures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DeclarationsFilter.png|right]]&lt;br /&gt;
&amp;lt;p&amp;gt;&#039;&#039;&#039;Lookup Declaration&#039;&#039;&#039;: From any script or when having selected a file in the project explorer, you can invoke Lookup Declaration from the Clonk menu (also a candidate for a nice keyboard assignment). You can then filter all the declarations from the current selection (either the project selected in the project explorer or the script being currently edited including its #includes) using regular expressions and jump to the declaration of any identifier matched by the expression.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_DeclarationsFilter.png&amp;diff=1157</id>
		<title>File:Eclipse DeclarationsFilter.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_DeclarationsFilter.png&amp;diff=1157"/>
		<updated>2011-10-16T19:45:20Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1156</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1156"/>
		<updated>2011-10-16T19:43:35Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Errors &amp;amp; Warnings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Errors and Warnings listed in the Problems View can be individually deactivated if they annoy you. To do that, open up the properties window for the project you want to configure, select the Clonk category and deactivate kinds of errors/warnings to your heart&#039;s content.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ProblemsFilter.png]]&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsFilter.png&amp;diff=1155</id>
		<title>File:Eclipse ProblemsFilter.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsFilter.png&amp;diff=1155"/>
		<updated>2011-10-16T19:43:09Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: uploaded a new version of &amp;amp;quot;File:Eclipse ProblemsFilter.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsFilter.png&amp;diff=1154</id>
		<title>File:Eclipse ProblemsFilter.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsFilter.png&amp;diff=1154"/>
		<updated>2011-10-16T19:38:47Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1153</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=1153"/>
		<updated>2011-10-16T19:32:42Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The outline allows you to filter the list of declarations using a regular expression or wildcard.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_Outline.png&amp;diff=1152</id>
		<title>File:Eclipse Outline.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_Outline.png&amp;diff=1152"/>
		<updated>2011-10-16T19:31:26Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: uploaded a new version of &amp;amp;quot;File:Eclipse Outline.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=832</id>
		<title>Developing Content with Eclipse</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=832"/>
		<updated>2011-02-05T20:40:56Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Eclipse is an extensible opensource IDE written in Java. It can be obtained from [http://eclipse.org/downloads/ here]. For the purpose of Clonk development the &#039;&#039;Eclipse IDE for Java Developers&#039;&#039; package will do. In order for Eclipse to be aware of C4Scripts and other Clonk-related files a plugin has to be installed. An explanation on how to do that can be found in the [[C4DT Installation Guide]]. Below is a list of tutorials to introduce you to C4DT, the Clonk Development Tools for Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
* [[C4DT Installation Guide|Installation]]&lt;br /&gt;
* [[C4DT Editors|Editors]]&lt;br /&gt;
* [[C4DT Running Scenarios|Running Scenarios]]&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
* [[C4DT_FAQ|Frequently Asked Questions]]&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_FAQ&amp;diff=831</id>
		<title>C4DT FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_FAQ&amp;diff=831"/>
		<updated>2011-02-05T20:40:50Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add png problem&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Eclipse corrupts my png files when I edit them in a graphics program==&lt;br /&gt;
You can go to Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations and add a new file association for *.png files to ensure that png will always be opened in an external editor of your choice and not in an editor tab inside Eclipse.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=772</id>
		<title>C4DT Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=772"/>
		<updated>2010-12-21T16:05:57Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add &amp;quot;Getting OpenClonk content into Eclipse&amp;quot; section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
First you need to install Eclipse itself. This is relatively straightforward. Go to the [http://eclipse.org/downloads/ Eclipse Download Page] and download the &#039;&#039;Eclipse for Java Developers&#039;&#039; package. Eclipse does not require running an installer. Just unpack the folder somewhere and run the Eclipse program inside it. Unless you don&#039;t have Java installed Eclipse should boot although that might take a while. On first boot, Eclipse will usually ask you to provide a workspace location. That&#039;s the folder Eclipse will create projects in by default. Set it as you like.&lt;br /&gt;
&lt;br /&gt;
==Installing C4DT==&lt;br /&gt;
Installing C4DT (Clonk Development Tools) is the next step to tailor that generic Eclipse installation you now have for the purpose of editing C4Scripts and other OpenClonk files with it. It is a plug-in that provides a number of improvements you might know from other IDEs. Among those are&lt;br /&gt;
* Content Assistance (similar to IntelliSense from Visual Studio)&lt;br /&gt;
* Error recognition (to not have to boot up the engine for getting a list of syntax errors)&lt;br /&gt;
* Navigation (clicking on identifiers, getting to their declaration locations)&lt;br /&gt;
* Debugging scripts (suspending execution of scripts, executing them in single steps)&lt;br /&gt;
To install C4DT, you first have to add its update site to the list of update sites Eclipse is maintaining. An update site is a location (usually on some web site although it can be local as well) Eclipse can download plug ins from. Once downloaded, those plug ins will also be updated from the same update site if Eclipse finds new versions of the plug-in there. To add an update site, go to Help -&amp;gt; Install New Software and press the Add button in the Install window.&lt;br /&gt;
[[File:Eclipse_InstallWindow.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C4DT&#039;s Update Site is currently [http://www.maltworld.de/clonk/c4dt/update http://www.maltworld.de/clonk/c4dt/update] but that might change in the future. Add the Update Site (the name you choose for the site is of no concern), select it if that didn&#039;t happen automatically and you should see two items for installation:&lt;br /&gt;
[[File:EclipseAvailableFeatures.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
The first one is the C4DT plugin itself that contains all the functionality. The second one is a German language pack you can optionally install as well. Note though that only functionality added by C4DT is translated. The rest of Eclipse stays in English. To change that, head over to the [http://www.eclipse.org/babel/downloads.php Eclipse Babel Project] and install language packs from there. After pressing &amp;quot;Next&amp;quot; quite a few times, accepting the license (which is supposed to be the same as the one OpenClonk uses), agreeing to install unsigned content and restarting Eclipse, C4DT should be installed. A sign of success would be having a Clonk menu item in the main menu.&lt;br /&gt;
&lt;br /&gt;
==Setting Eclipse up for Clonk development==&lt;br /&gt;
[[File:Eclipse_ChoosePerspective.png|right]] Now that C4DT is installed Eclipse needs to be set into Clonk mode. Press the button in the top-right of the window and &amp;quot;Other...&amp;quot;.&amp;lt;br clear=all/&amp;gt;[[File:Eclipse_Perspectives.png|border|right]] You should see a window listing the available perspectives Eclipse can be put into. Choose the one named &amp;quot;Clonk&amp;quot;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
In Eclipse lingo, a perspective is a default configuration on what views the main window should contain and how those views are arranged. There are perspectives for working on various tasks, like synchronizing code with a repository or working on a Java project. C4DT adds a Clonk perspective that by default looks like this:&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DefaultClonkPerspective.png|border]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial configuration==&lt;br /&gt;
What now needs to be done is setting some default preferences that C4DT will need to not completely screw up. Open up the preferences (Window -&amp;gt; Preferences) and go to the Clonk section:&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Eclipse_ClonkPreferences.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The preferences are divided into preferences to control the general behaviour of the plug-in (below) and engine-specific preferences (on top).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Set the game path for OpenClonk to the planet folder in your repository.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The two fields &amp;quot;C4Group Executable&amp;quot; and &amp;quot;Engine&amp;quot; will be filled out automatically if suitable executables are contained in the planet folder. If those are to be found somewhere else in your case, select them manually.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The repository field isn&#039;t exactly needed at the moment but you can set it to the path to your repository (not the planet folder) anyway.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is all you need to set in the preferences but of course you can configure other things to your liking. Specifying Syntax highlighting colours used in Clonk text editors (expand the Clonk item in the tree view on the right) or keyboard short cuts (General -&amp;gt; Keys) come to mind.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;When you&#039;re done, press OK.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting OpenClonk content into Eclipse==&lt;br /&gt;
&amp;lt;p&amp;gt;Now notice the Project Explorer view. It&#039;s glaringly empty. To fill it with OpenClonk content, open up the Clonk project wizard by pressing File -&amp;gt; New Clonk Project.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_NewClonkProject.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Choose the name of the project. &amp;quot;OpenClonk&amp;quot; is advisable but in the end it&#039;s up to your preference.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The following steps differ based on whether you cloned the OpenClonk repository or downloaded an official release.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Cloned from Repository&#039;&#039;&#039;&lt;br /&gt;
:&amp;lt;p&amp;gt;Eclipse will create projects in its workspace folder. But in the case of OpenClonk this is not suitable since all the game content is contained in the planet folder. Luckily, Eclipse provides a mechanism for such situations. It allows you to create projects from folders arbitrarily located in the file system. To use that mechanism uncheck &amp;quot;Use default location&amp;quot; and provide the path to the planet folder. This might feel kind of redundant since you already specified that path in the preferences and well, it is.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Downloaded official release&#039;&#039;&#039;&lt;br /&gt;
:C4Groups in the official release are packed. C4DT can read packed c4groups, but not modify them. To access the content of packed groups, you have two choices. You can&lt;br /&gt;
:* &#039;&#039;link to those groups.&#039;&#039;&lt;br /&gt;
::For that purpose, there is a link tab in the Clonk Project Wizard that enables you to add groups to be linked to the new project. Add all the .c4d/.c4f/.c4g files from the OpenClonk installation. When you finish the wizard later on, the linked groups will be displayed like regular folders, except for a link sign on the icon ([[File:EclipseLinkedGroup.png]])&lt;br /&gt;
::To actually edit stuff, you need to create a new project that references the project containing the linked c4groups. Actually, this is not strictly necessary but advisable to keep things clear.&lt;br /&gt;
::For referencing other projects (making stuff defined in that project known to the other project), use the Project References tab in the wizard. For changing project references later on, open the properties of a project (right click on the project in the Project Explorer, then select &amp;quot;Properties&amp;quot;) and go to the Project References section.&lt;br /&gt;
:* &#039;&#039;import the groups.&#039;&#039;&lt;br /&gt;
::The groups will be unpacked into the Eclipse workspace folder and modifying the unpacked files there won&#039;t be modify the original groups. Add groups to be imported from the Importing tab in the wizard.&lt;br /&gt;
::If you plan on modyifing content from the releases you could think about whether it wouldn&#039;t be better to clone from the repository so you will be able to track your modifications using version control.&lt;br /&gt;
* &#039;&#039;&#039;Both&#039;&#039;&#039;&lt;br /&gt;
:Next, you should set the engine to &amp;quot;Open Clonk&amp;quot;. When leaving it set to &amp;quot;Default engine&amp;quot; the project&#039;s engine will always be equal to the one selected in the preferences which might be troublesome when mixing Clonk Rage and Open Clonk projects in one workspace.&lt;br /&gt;
&lt;br /&gt;
==The Result==&lt;br /&gt;
&amp;lt;p&amp;gt;After creating the OpenClonk project and waiting a bit for Eclipse to analyze all the scripts you should be presented with a vista such as this:&lt;br /&gt;
[[File:Eclipse_OpenClonkProjectCreated.png]]&amp;lt;br clear=all/&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;In its current state, C4DT should more or less be able to parse all the scripts and not litter the problems view with false positives. When new functions are added to the engine (which tends to happen quite a lot with an engine still in development) those functions will be unknown to Eclipse at first, hence its complaining. But fear not, as those gaping holes of ignorance will sooner or later be stuffed.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=771</id>
		<title>C4DT Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=771"/>
		<updated>2010-12-21T16:00:58Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Clarify linking/importing a bit more&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
First you need to install Eclipse itself. This is relatively straightforward. Go to the [http://eclipse.org/downloads/ Eclipse Download Page] and download the &#039;&#039;Eclipse for Java Developers&#039;&#039; package. Eclipse does not require running an installer. Just unpack the folder somewhere and run the Eclipse program inside it. Unless you don&#039;t have Java installed Eclipse should boot although that might take a while. On first boot, Eclipse will usually ask you to provide a workspace location. That&#039;s the folder Eclipse will create projects in by default. Set it as you like.&lt;br /&gt;
&lt;br /&gt;
==Installing C4DT==&lt;br /&gt;
Installing C4DT (Clonk Development Tools) is the next step to tailor that generic Eclipse installation you now have for the purpose of editing C4Scripts and other OpenClonk files with it. It is a plug-in that provides a number of improvements you might know from other IDEs. Among those are&lt;br /&gt;
* Content Assistance (similar to IntelliSense from Visual Studio)&lt;br /&gt;
* Error recognition (to not have to boot up the engine for getting a list of syntax errors)&lt;br /&gt;
* Navigation (clicking on identifiers, getting to their declaration locations)&lt;br /&gt;
* Debugging scripts (suspending execution of scripts, executing them in single steps)&lt;br /&gt;
To install C4DT, you first have to add its update site to the list of update sites Eclipse is maintaining. An update site is a location (usually on some web site although it can be local as well) Eclipse can download plug ins from. Once downloaded, those plug ins will also be updated from the same update site if Eclipse finds new versions of the plug-in there. To add an update site, go to Help -&amp;gt; Install New Software and press the Add button in the Install window.&lt;br /&gt;
[[File:Eclipse_InstallWindow.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C4DT&#039;s Update Site is currently [http://www.maltworld.de/clonk/c4dt/update http://www.maltworld.de/clonk/c4dt/update] but that might change in the future. Add the Update Site (the name you choose for the site is of no concern), select it if that didn&#039;t happen automatically and you should see two items for installation:&lt;br /&gt;
[[File:EclipseAvailableFeatures.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
The first one is the C4DT plugin itself that contains all the functionality. The second one is a German language pack you can optionally install as well. Note though that only functionality added by C4DT is translated. The rest of Eclipse stays in English. To change that, head over to the [http://www.eclipse.org/babel/downloads.php Eclipse Babel Project] and install language packs from there. After pressing &amp;quot;Next&amp;quot; quite a few times, accepting the license (which is supposed to be the same as the one OpenClonk uses), agreeing to install unsigned content and restarting Eclipse, C4DT should be installed. A sign of success would be having a Clonk menu item in the main menu.&lt;br /&gt;
&lt;br /&gt;
==Setting Eclipse up for Clonk development==&lt;br /&gt;
[[File:Eclipse_ChoosePerspective.png|right]] Now that C4DT is installed Eclipse needs to be set into Clonk mode. Press the button in the top-right of the window and &amp;quot;Other...&amp;quot;.&amp;lt;br clear=all/&amp;gt;[[File:Eclipse_Perspectives.png|border|right]] You should see a window listing the available perspectives Eclipse can be put into. Choose the one named &amp;quot;Clonk&amp;quot;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
In Eclipse lingo, a perspective is a default configuration on what views the main window should contain and how those views are arranged. There are perspectives for working on various tasks, like synchronizing code with a repository or working on a Java project. C4DT adds a Clonk perspective that by default looks like this:&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DefaultClonkPerspective.png|border]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial configuration==&lt;br /&gt;
What now needs to be done is setting some default preferences that C4DT will need to not completely screw up. Open up the preferences (Window -&amp;gt; Preferences) and go to the Clonk section:&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Eclipse_ClonkPreferences.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The preferences are divided into preferences to control the general behaviour of the plug-in (below) and engine-specific preferences (on top).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Set the game path for OpenClonk to the planet folder in your repository.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The two fields &amp;quot;C4Group Executable&amp;quot; and &amp;quot;Engine&amp;quot; will be filled out automatically if suitable executables are contained in the planet folder. If those are to be found somewhere else in your case, select them manually.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The repository field isn&#039;t exactly needed at the moment but you can set it to the path to your repository (not the planet folder) anyway.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is all you need to set in the preferences but of course you can configure other things to your liking. Specifying Syntax highlighting colours used in Clonk text editors (expand the Clonk item in the tree view on the right) or keyboard short cuts (General -&amp;gt; Keys) come to mind.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;When you&#039;re done, press OK.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Now notice the Project Explorer view. It&#039;s glaringly empty. To fill it with OpenClonk content, open up the Clonk project wizard by pressing File -&amp;gt; New Clonk Project.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_NewClonkProject.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Choose the name of the project. &amp;quot;OpenClonk&amp;quot; is advisable but in the end it&#039;s up to your preference.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The following steps differ based on whether you cloned the OpenClonk repository or downloaded an official release.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Cloned from Repository&#039;&#039;&#039;&lt;br /&gt;
:&amp;lt;p&amp;gt;Eclipse will create projects in its workspace folder. But in the case of OpenClonk this is not suitable since all the game content is contained in the planet folder. Luckily, Eclipse provides a mechanism for such situations. It allows you to create projects from folders arbitrarily located in the file system. To use that mechanism uncheck &amp;quot;Use default location&amp;quot; and provide the path to the planet folder. This might feel kind of redundant since you already specified that path in the preferences and well, it is.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Downloaded official release&#039;&#039;&#039;&lt;br /&gt;
:C4Groups in the official release are packed. C4DT can read packed c4groups, but not modify them. To access the content of packed groups, you have two choices. You can&lt;br /&gt;
:* &#039;&#039;link to those groups.&#039;&#039;&lt;br /&gt;
::For that purpose, there is a link tab in the Clonk Project Wizard that enables you to add groups to be linked to the new project. Add all the .c4d/.c4f/.c4g files from the OpenClonk installation. When you finish the wizard later on, the linked groups will be displayed like regular folders, except for a link sign on the icon ([[File:EclipseLinkedGroup.png]])&lt;br /&gt;
::To actually edit stuff, you need to create a new project that references the project containing the linked c4groups. Actually, this is not strictly necessary but advisable to keep things clear.&lt;br /&gt;
::For referencing other projects (making stuff defined in that project known to the other project), use the Project References tab in the wizard. For changing project references later on, open the properties of a project (right click on the project in the Project Explorer, then select &amp;quot;Properties&amp;quot;) and go to the Project References section.&lt;br /&gt;
:* &#039;&#039;import the groups.&#039;&#039;&lt;br /&gt;
::The groups will be unpacked into the Eclipse workspace folder and modifying the unpacked files there won&#039;t be modify the original groups. Add groups to be imported from the Importing tab in the wizard.&lt;br /&gt;
::If you plan on modyifing content from the releases you could think about whether it wouldn&#039;t be better to clone from the repository so you will be able to track your modifications using version control.&lt;br /&gt;
* &#039;&#039;&#039;Both&#039;&#039;&#039;&lt;br /&gt;
:Next, you should set the engine to &amp;quot;Open Clonk&amp;quot;. When leaving it set to &amp;quot;Default engine&amp;quot; the project&#039;s engine will always be equal to the one selected in the preferences which might be troublesome when mixing Clonk Rage and Open Clonk projects in one workspace.&lt;br /&gt;
&lt;br /&gt;
==The Result==&lt;br /&gt;
&amp;lt;p&amp;gt;After creating the OpenClonk project and waiting a bit for Eclipse to analyze all the scripts you should be presented with a vista such as this:&lt;br /&gt;
[[File:Eclipse_OpenClonkProjectCreated.png]]&amp;lt;br clear=all/&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;In its current state, C4DT should more or less be able to parse all the scripts and not litter the problems view with false positives. When new functions are added to the engine (which tends to happen quite a lot with an engine still in development) those functions will be unknown to Eclipse at first, hence its complaining. But fear not, as those gaping holes of ignorance will sooner or later be stuffed.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:EclipseLinkedGroup.png&amp;diff=770</id>
		<title>File:EclipseLinkedGroup.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:EclipseLinkedGroup.png&amp;diff=770"/>
		<updated>2010-12-21T15:56:03Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Shows how linked groups look like in Eclipse.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Shows how linked groups look like in Eclipse.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=769</id>
		<title>C4DT Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Installation_Guide&amp;diff=769"/>
		<updated>2010-12-21T02:47:54Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Add explanation on how to link to packed c4groups from releases&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisites==&lt;br /&gt;
First you need to install Eclipse itself. This is relatively straightforward. Go to the [http://eclipse.org/downloads/ Eclipse Download Page] and download the &#039;&#039;Eclipse for Java Developers&#039;&#039; package. Eclipse does not require running an installer. Just unpack the folder somewhere and run the Eclipse program inside it. Unless you don&#039;t have Java installed Eclipse should boot although that might take a while. On first boot, Eclipse will usually ask you to provide a workspace location. That&#039;s the folder Eclipse will create projects in by default. Set it as you like.&lt;br /&gt;
&lt;br /&gt;
==Installing C4DT==&lt;br /&gt;
Installing C4DT (Clonk Development Tools) is the next step to tailor that generic Eclipse installation you now have for the purpose of editing C4Scripts and other OpenClonk files with it. It is a plug-in that provides a number of improvements you might know from other IDEs. Among those are&lt;br /&gt;
* Content Assistance (similar to IntelliSense from Visual Studio)&lt;br /&gt;
* Error recognition (to not have to boot up the engine for getting a list of syntax errors)&lt;br /&gt;
* Navigation (clicking on identifiers, getting to their declaration locations)&lt;br /&gt;
* Debugging scripts (suspending execution of scripts, executing them in single steps)&lt;br /&gt;
To install C4DT, you first have to add its update site to the list of update sites Eclipse is maintaining. An update site is a location (usually on some web site although it can be local as well) Eclipse can download plug ins from. Once downloaded, those plug ins will also be updated from the same update site if Eclipse finds new versions of the plug-in there. To add an update site, go to Help -&amp;gt; Install New Software and press the Add button in the Install window.&lt;br /&gt;
[[File:Eclipse_InstallWindow.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C4DT&#039;s Update Site is currently [http://www.maltworld.de/clonk/c4dt/update http://www.maltworld.de/clonk/c4dt/update] but that might change in the future. Add the Update Site (the name you choose for the site is of no concern), select it if that didn&#039;t happen automatically and you should see two items for installation:&lt;br /&gt;
[[File:EclipseAvailableFeatures.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
The first one is the C4DT plugin itself that contains all the functionality. The second one is a German language pack you can optionally install as well. Note though that only functionality added by C4DT is translated. The rest of Eclipse stays in English. To change that, head over to the [http://www.eclipse.org/babel/downloads.php Eclipse Babel Project] and install language packs from there. After pressing &amp;quot;Next&amp;quot; quite a few times, accepting the license (which is supposed to be the same as the one OpenClonk uses), agreeing to install unsigned content and restarting Eclipse, C4DT should be installed. A sign of success would be having a Clonk menu item in the main menu.&lt;br /&gt;
&lt;br /&gt;
==Setting Eclipse up for Clonk development==&lt;br /&gt;
[[File:Eclipse_ChoosePerspective.png|right]] Now that C4DT is installed Eclipse needs to be set into Clonk mode. Press the button in the top-right of the window and &amp;quot;Other...&amp;quot;.&amp;lt;br clear=all/&amp;gt;[[File:Eclipse_Perspectives.png|border|right]] You should see a window listing the available perspectives Eclipse can be put into. Choose the one named &amp;quot;Clonk&amp;quot;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
In Eclipse lingo, a perspective is a default configuration on what views the main window should contain and how those views are arranged. There are perspectives for working on various tasks, like synchronizing code with a repository or working on a Java project. C4DT adds a Clonk perspective that by default looks like this:&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
[[File:Eclipse_DefaultClonkPerspective.png|border]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial configuration==&lt;br /&gt;
What now needs to be done is setting some default preferences that C4DT will need to not completely screw up. Open up the preferences (Window -&amp;gt; Preferences) and go to the Clonk section:&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Eclipse_ClonkPreferences.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The preferences are divided into preferences to control the general behaviour of the plug-in (below) and engine-specific preferences (on top).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Set the game path for OpenClonk to the planet folder in your repository.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The two fields &amp;quot;C4Group Executable&amp;quot; and &amp;quot;Engine&amp;quot; will be filled out automatically if suitable executables are contained in the planet folder. If those are to be found somewhere else in your case, select them manually.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The repository field isn&#039;t exactly needed at the moment but you can set it to the path to your repository (not the planet folder) anyway.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is all you need to set in the preferences but of course you can configure other things to your liking. Specifying Syntax highlighting colours used in Clonk text editors (expand the Clonk item in the tree view on the right) or keyboard short cuts (General -&amp;gt; Keys) come to mind.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;When you&#039;re done, press OK.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Now notice the Project Explorer view. It&#039;s glaringly empty. To fill it with OpenClonk content, open up the Clonk project wizard by pressing File -&amp;gt; New Clonk Project.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_NewClonkProject.png|left]]&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Choose the name of the project. &amp;quot;OpenClonk&amp;quot; is advisable but in the end it&#039;s up to your preference.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The following steps differ based on whether you cloned the OpenClonk repository or downloaded an official release.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==1. Cloned from Repository==&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse will create projects in its workspace folder. But in the case of OpenClonk this is not suitable since all the game content is contained in the planet folder. Luckily, Eclipse provides a mechanism for such situations. It allows you to create projects from folders arbitrarily located in the file system. To use that mechanism uncheck &amp;quot;Use default location&amp;quot; and provide the path to the planet folder. This might feel kind of redundant since you already specified that path in the preferences and well, it is.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2. Downloaded official release==&lt;br /&gt;
&amp;lt;p&amp;gt;C4Groups in the official release are packed. C4DT can read packed c4groups, but not modify them. To access packed groups, you need to &amp;quot;link&amp;quot; to those groups. For that purpose, there is a link tab in the Clonk Project Wizard that enables you to add groups to be linked to the new project. Add all the .c4d/.c4f/.c4g files from the OpenClonk installation.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;To actually edit stuff, you need to create a new project that references the project containing the linked c4groups. Actually, this is not strictly necessary but advisable to keep things clear.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For referencing other projects (making stuff defined in that project known to the other project), use the Project References tab in the wizard. For changing project references later on, open the properties of a project (right click on the project in the Project Explorer, then select &amp;quot;Properties&amp;quot;) and go to the Project References section.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Both==&lt;br /&gt;
&amp;lt;p&amp;gt;Next, you should set the engine to &amp;quot;Open Clonk&amp;quot;. When leaving it set to &amp;quot;Default engine&amp;quot; the project&#039;s engine will always be equal to the one selected in the preferences which might be troublesome when mixing Clonk Rage and Open Clonk projects in one workspace.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t let yourself be confused by the boxes at the bottom of the wizard. Those will only be useful in cases where you have multiple projects that build on each other or need to import some packed groups. All not the case in OpenClonk.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The Result==&lt;br /&gt;
&amp;lt;p&amp;gt;After creating the OpenClonk project and waiting a bit for Eclipse to analyze all the scripts you should be presented with a vista such as this:&lt;br /&gt;
[[File:Eclipse_OpenClonkProjectCreated.png]]&amp;lt;br clear=all/&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;In its current state, C4DT should more or less be able to parse all the scripts and not litter the problems view with false positives. When new functions are added to the engine (which tends to happen quite a lot with an engine still in development) those functions will be unknown to Eclipse at first, hence its complaining. But fear not, as those gaping holes of ignorance will sooner or later be stuffed.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=532</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=532"/>
		<updated>2010-05-03T12:55:23Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Expressions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects. More on those views below.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Now that execution is halted you can do three things:&lt;br /&gt;
*Step Into: The instruction at the current execution position will be executed. If the instruction contains a function call, the debugger will jump into the function and allow you to continue stepping inside that function. Default keystroke: F5&lt;br /&gt;
*Step Over: Same as Step Into with the exception that the debugger won&#039;t go into subordinate function calls. Default keystroke: F6&lt;br /&gt;
*Resume: Resume script execution. The engine will run normally until the next breakpoint is encountered. Default keystroke: F8&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Variables_View.PNG|right]] The Variables view displays local variables and parameters of the function being executed.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Expressions_View.PNG]]&amp;lt;br clear=all/&amp;gt; The expressions view displays a list of user-defined expressions that get evaluated after every execution step. It is evaluated in the context of the calling object so expressions like &amp;quot;GetName()&amp;quot; will work as expected. Local variables and parameters can in principle be used in expressions but evaluation of such expressions might be buggy.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;To add new expressions right-click into the view and select &amp;quot;Add Watch Expression&amp;quot;.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=531</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=531"/>
		<updated>2010-05-03T12:54:29Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Debugging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects. More on those views below.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Now that execution is halted you can do three things:&lt;br /&gt;
*Step Into: The instruction at the current execution position will be executed. If the instruction contains a function call, the debugger will jump into the function and allow you to continue stepping inside that function. Default keystroke: F5&lt;br /&gt;
*Step Over: Same as Step Into with the exception that the debugger won&#039;t go into subordinate function calls. Default keystroke: F6&lt;br /&gt;
*Resume: Resume script execution. The engine will run normally until the next breakpoint is encountered. Default keystroke: F8&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Variables_View.PNG|right]] The Variables view displays local variables and parameters of the function being executed.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Expressions_View.PNG]]&amp;lt;br clear=all/&amp;gt; The expressions view displays a list of user-defined expressions that get evaluated after every execution step. It is evaluated in the context of the calling object so expressions like &amp;quot;GetName()&amp;quot; will work as expected. Local variables and parameters can in principle be used in expressions but evaluation of such expressions might be buggy.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=530</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=530"/>
		<updated>2010-05-03T12:53:35Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: /* Debugging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects. More on those views below.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Now that execution is halted you can do three things:&lt;br /&gt;
*Step Into: The instruction at the current execution position will be executed. If the instruction contains a function call, the debugger will jump into the function and allow you to continue stepping inside that function.&lt;br /&gt;
*Step Over: Same as Step Into with the exception that the debugger won&#039;t go into subordinate function calls.&lt;br /&gt;
*Resume: Resume script execution. The engine will run normally until the next breakpoint is encountered.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Variables_View.PNG|right]] The Variables view displays local variables and parameters of the function being executed.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Expressions_View.PNG]]&amp;lt;br clear=all/&amp;gt; The expressions view displays a list of user-defined expressions that get evaluated after every execution step. It is evaluated in the context of the calling object so expressions like &amp;quot;GetName()&amp;quot; will work as expected. Local variables and parameters can in principle be used in expressions but evaluation of such expressions might be buggy.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=529</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=529"/>
		<updated>2010-04-29T14:45:13Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Variables_View.PNG|right]] The Variables view displays local variables and parameters of the function being executed.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Expressions_View.PNG]]&amp;lt;br clear=all/&amp;gt; The expressions view displays a list of user-defined expressions that get evaluated after every execution step. It is evaluated in the context of the calling object so expressions like &amp;quot;GetName()&amp;quot; will work as expected. Local variables and parameters can in principle be used in expressions but evaluation of such expressions might be buggy.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=528</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=528"/>
		<updated>2010-04-29T14:44:20Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Variables_View.PNG|right]] The Variables view displays local variables and parameters of the function being executed.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Expressions_View.PNG|right]] The expressions view displays a list of user-defined expressions that get evaluated after every execution step. It is evaluated in the context of the calling object so expressions like &amp;quot;GetName()&amp;quot; will work as expected. Local variables and parameters can in principle be used in expressions but evaluation of such expressions might be buggy.&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Expressions_View.PNG&amp;diff=527</id>
		<title>File:C4DT Expressions View.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Expressions_View.PNG&amp;diff=527"/>
		<updated>2010-04-29T14:42:18Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Variables_View.PNG&amp;diff=526</id>
		<title>File:C4DT Variables View.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Variables_View.PNG&amp;diff=526"/>
		<updated>2010-04-29T14:34:14Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=525</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=525"/>
		<updated>2010-04-29T13:11:22Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Button.PNG|right]] To run a scenario in debug mode all you have to do is pressing the Debug button instead of the Run one. The engine will now be halting script execution as soon as it encounters an instruction marked by a breakpoint. Eclipse will highlight the location where script execution halted. Now various views can be utilised to gain information about the current state of variables and objects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Variables==&lt;br /&gt;
&lt;br /&gt;
==Expressions==&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Debug_Button.PNG&amp;diff=524</id>
		<title>File:C4DT Debug Button.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Debug_Button.PNG&amp;diff=524"/>
		<updated>2010-04-29T13:06:03Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=523</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=523"/>
		<updated>2010-04-29T13:03:24Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
[[File:C4DT_Run_Scenario.png|right]] You can run scenarios by selecting it in the Project Explorer and then selecting the option Run Scenario found in the popup menu of the Run button (the green one with the white play symbol).&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Run_Scenario.png&amp;diff=522</id>
		<title>File:C4DT Run Scenario.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Run_Scenario.png&amp;diff=522"/>
		<updated>2010-04-29T13:00:33Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=521</id>
		<title>C4DT Running Scenarios</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Running_Scenarios&amp;diff=521"/>
		<updated>2010-04-29T12:57:33Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Created page with &amp;#039;==Introduction== &amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in C4DT_Installation_Guide.&amp;lt;/p&amp;gt;  ==Running Scenarios==  ==Debugging== &amp;lt;…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;Before continuing you should make sure that you have completed the steps described in [[C4DT_Installation_Guide]].&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Running Scenarios==&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Debug_Persp.PNG|right]] To execute scripts one-instruction-at-a-time and inspect values while the script is halted, you have to switch to the debug perspective first. The layout of the main window changes to acommodate debugging. You can still arrange the views as you want but changes to the layout done while in the debug perspective will stay in the debug perspective, so as soon as you switch back to the Clonk perspective your old layout will be restored.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;[[File:C4DT_Breakpoint.PNG|right]] Apart from window layout there are also some keyboard shortcuts that become available. Among those is the shortcut to create a breakpoint. By default, it&#039;s Ctrl+Shift+B. You can open any c4script and place a breakpoint in a line that contains function code by using that shortcut (or alternatively right-clicking the ledge on the left and clicking &amp;quot;Toggle Breakpoint&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Breakpoint.PNG&amp;diff=520</id>
		<title>File:C4DT Breakpoint.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Breakpoint.PNG&amp;diff=520"/>
		<updated>2010-04-29T12:54:35Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:C4DT_Debug_Persp.PNG&amp;diff=519</id>
		<title>File:C4DT Debug Persp.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:C4DT_Debug_Persp.PNG&amp;diff=519"/>
		<updated>2010-04-29T12:46:55Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=511</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=511"/>
		<updated>2010-04-20T14:07:55Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=510</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=510"/>
		<updated>2010-04-19T14:36:57Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Additional Views==&lt;br /&gt;
&amp;lt;p&amp;gt;C4DT adds a handful of views. Two of them will get placed in the same tabzone as the Outline view by the Clonk perspective.&amp;lt;/p&amp;gt;&lt;br /&gt;
*The Preview view serves as a replacement for the preview feature found in the Clonk Editor.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=509</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=509"/>
		<updated>2010-04-19T14:32:24Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a look at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=508</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=508"/>
		<updated>2010-04-19T14:31:52Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors, which are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a loot at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=507</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=507"/>
		<updated>2010-04-19T14:31:11Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors that are listed in the problems view. A script is reparsed when it gets saved. In some cases errors might become stale and won&#039;t get removed from the list automatically. What you can then do is Clean the project using Project -&amp;gt; Clean. This will reparse all the scripts in either the entire workspace or specific projects and hopefully remove the false errors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For a list of warnings &amp;amp; errors take a loot at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=506</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=506"/>
		<updated>2010-04-19T14:27:47Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: Outline + Problems View&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[File:Eclipse_Outline.png|right]] &amp;lt;p&amp;gt;C4DT Editors fill the Outline view with an outline of the files being edited. The default Clonk perspective places the outline on the left below the Project Explorer.&amp;lt;/p&amp;gt;&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errors &amp;amp; Warnings==&lt;br /&gt;
[[File:Eclipse_ProblemsView.png|right]] &amp;lt;p&amp;gt;The script parser built into C4DT tries to detect lots of potential and actual errors that are listed in the problems view. For a list of warnings &amp;amp; errors take a loot at [http://bitbucket.org/mortimer/c4dt/src/tip/C4DT/src/net/arctics/clonk/parser/ParserErrorCode.java ParserErrorCode.java].&amp;lt;/p&amp;gt;&amp;lt;br clear=all/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsView.png&amp;diff=505</id>
		<title>File:Eclipse ProblemsView.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_ProblemsView.png&amp;diff=505"/>
		<updated>2010-04-19T14:26:32Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=File:Eclipse_Outline.png&amp;diff=504</id>
		<title>File:Eclipse Outline.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=File:Eclipse_Outline.png&amp;diff=504"/>
		<updated>2010-04-19T14:19:42Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=503</id>
		<title>Developing Content with Eclipse</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=503"/>
		<updated>2010-04-19T12:28:26Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Eclipse is an extensible opensource IDE written in Java. It can be obtained from [http://eclipse.org/downloads/ here]. For the purpose of Clonk development the &#039;&#039;Eclipse IDE for Java Developers&#039;&#039; package will do. In order for Eclipse to be aware of C4Scripts and other Clonk-related files a plugin has to be installed. An explanation on how to do that can be found in the [[C4DT Installation Guide]]. Below is a list of tutorials to introduce you to C4DT, the Clonk Development Tools for Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
* [[C4DT Installation Guide|Installation]]&lt;br /&gt;
* [[C4DT Editors|Editors]]&lt;br /&gt;
* [[C4DT Running Scenarios|Running Scenarios]]&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=502</id>
		<title>Developing Content with Eclipse</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=502"/>
		<updated>2010-04-19T12:28:11Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Eclipse is an extensible opensource IDE written in Java. It can be obtained from [http://eclipse.org/downloads/ here]. For the purpose of Clonk development the &#039;&#039;Eclipse IDE for Java Developers&#039;&#039; package will do. In order for Eclipse to be aware of C4Scripts and other Clonk-related files a plugin has to be installed. An explanation on how to do that can be found in the [[C4DT Installation Guide]]. Below is a list of tutorials to introduce you to C4DT, the Clonk Development Tools for Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
* [[C4DT Installation Guide|Installation]]&lt;br /&gt;
* [[C4DT Editors|Editors]]&lt;br /&gt;
* [[C4DT Navigation|Navigation]]&lt;br /&gt;
* [[C4DT Running Scenarios|Running Scenarios]]&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=501</id>
		<title>Developing Content with Eclipse</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=Developing_Content_with_Eclipse&amp;diff=501"/>
		<updated>2010-04-19T12:27:44Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Eclipse is an extensible opensource IDE written in Java. It can be obtained from [http://eclipse.org/downloads/ here]. For the purpose of Clonk development the &#039;&#039;Eclipse IDE for Java Developers&#039;&#039; package will do. In order for Eclipse to be aware of C4Scripts and other Clonk-related files a plugin has to be installed. An explanation on how to do that can be found in the [[C4DT Installation Guide]]. Below is a list of tutorials to introduce you to C4DT, the Clonk Development Tools for Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
* [[C4DT Installation Guide|Installation]]&lt;br /&gt;
* [[C4DT Editors|Editors]]&lt;br /&gt;
* [[C4DT Editing Other Clonk Files|Editing other Clonk files]]&lt;br /&gt;
* [[C4DT Navigation|Navigation]]&lt;br /&gt;
* [[C4DT Running Scenarios|Running Scenarios]]&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editing_Scripts&amp;diff=500</id>
		<title>C4DT Editing Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editing_Scripts&amp;diff=500"/>
		<updated>2010-04-19T12:27:21Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: moved C4DT Editing Scripts to C4DT Editors:&amp;amp;#32;It turned out more generic than intented.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[C4DT Editors]]&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=499</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=499"/>
		<updated>2010-04-19T12:27:21Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: moved C4DT Editing Scripts to C4DT Editors:&amp;amp;#32;It turned out more generic than intented.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=498</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=498"/>
		<updated>2010-04-19T12:26:15Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above, not at all by chance similar to C4Scripter. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
	<entry>
		<id>https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=497</id>
		<title>C4DT Editors</title>
		<link rel="alternate" type="text/html" href="https://wiki.openclonk.org/index.php?title=C4DT_Editors&amp;diff=497"/>
		<updated>2010-04-19T12:24:26Z</updated>

		<summary type="html">&lt;p&gt;Mortimer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;p&amp;gt;As of now, you should have created an OpenClonk project and be sitting in front of something that is quite comparable to the original Clonk Editor. On the left side you have the Project Explorer (or on the right side or wherever you like, since all views can be freely arranged in Eclipse). You can use it to navigate packets as you&#039;d do when using the editor.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Unlike the editor though, files are generally openend not it an external program but in a tab in the Eclipse window. You can still set programs to handle specific files by either using the Open With command in the context menu of the Project Explorer or by setting a program in the preferences. The first method works on a file-by-file basis so you could tell Eclipse to open a specific graphics file with Photoshop while opening others with Paint. The second method (Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; File Associations) sets a file association for all files of that type.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Eclipse provides different internal editors for different file types. For Clonk-specific files, C4DT adds some more to the list. Among those are a&lt;br /&gt;
*C4Script Editor&lt;br /&gt;
*Landscape.txt Editor&lt;br /&gt;
*Ini Files Editor (DefCore.txt, ActMap.txt etc)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;All editors provided by C4DT offer suitable syntax highlighting. Apart from that they include special support for the types of files they were intended for:&amp;lt;/p&amp;gt;&lt;br /&gt;
*The C4Script Editor is supposed to help you write scripts more quickly by displaying errors and warnings contained in the script as soon as you save them and offering you a list of identifiers you can insert in specific places. It also tries to make writing properly formatted scripts easier by automatically inserting closing brackets and indenting. In addition to that it also strives to make navigation among and inside scripts easier by hyperlinking between them and providing an outline of the script.&lt;br /&gt;
*The Landscape.txt Editor is tailored for editing - surprise! - Landscape.txt files. Sadly, it doesn&#039;t offer a live preview on how the generated map would look like so it&#039;s probably a good idea to use Mape instead. There are plans to include similar functionality directly in Eclipse though.&lt;br /&gt;
*The Ini Files Editor also includes support for hyperlinks.&lt;br /&gt;
==Navigation==&lt;br /&gt;
Navigating to and between scripts quickly is very important. Because of that, C4DT adds several navigation features:&lt;br /&gt;
*[[File:Eclipse_Hyperlinks.png|right]] Hyperlinks: All valid identifiers can be turned into links by pressing Ctrl while hovering over the identifier with your mouse. When you click on them the declaration location of the thing the identifier is referring to will be opened. This works for variables, functions, definitions and also for StringTbl entries ($BlaBla$). &amp;lt;br clear=all/&amp;gt;[[File:Eclipse_HyperlinksIni.png|right]] Identifiers in ini editors can also be turned into hyperlinks.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Clonk_OpenObject.png|right]] Open Object Dialog: The Open Object dialog can be activated using the Clonk menu in the main menu. As soon as you start typing the dialog starts listing definitions that match the typed text.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_BackForward.png|right]] Going back and forward: When clicking on hyperlinks or navigating to other files by any other means you will always be able to go back to the original file by either pressing Alt+Left or using the yellow arrows in the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Content Assistance==&lt;br /&gt;
&amp;lt;p&amp;gt;When you are editing a script you can invoke a list offering you identifiers to insert. This list is context-sensitive so it will display different options depending on whether the cursor is inside a function or not or whether you are invoking it after having written &#039;-&amp;gt;&#039;. The short cut for the Content Assist list is Ctrl+Space but like any other short cut it can be changed in the preferences.&amp;lt;/p&amp;gt;&lt;br /&gt;
[[File:Eclipse_ContentAssist.png]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Improvements compared to generic text editors==&lt;br /&gt;
The C4Script editor adds special behaviour for some situations. Those are:&lt;br /&gt;
*[[File:Eclipse_AutomaticBlock.png|right]] Automatic block: When typing &#039;{&#039; and then pressing Return a block will be created automatically and the caret will be placed inside the block indented by one tab.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutomaticParmBrackets.png|right]] When you type &#039;(&#039; or &#039;[&#039; the corresponding closing bracket will be automatically inserted. In order to not interrupt your typing those inserted closing brackets will be overridden if you type them by hand subsequently. In this special situation, pressing tab will cause the caret to jump over the closing bracket.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_ParmHint.png|right]]Parameter hints: As soon as you enter the brackets of a function call the parameters will be displayed above. The mechanism to find the right parameters to display is kind of smart and will also work when calling a function on an object using &#039;-&amp;gt;&#039; as long as C4DT can deduce the object type of the expression left to &#039;-&amp;gt;&#039;.&amp;lt;br clear=all/&amp;gt;&lt;br /&gt;
*[[File:Eclipse_AutoFunction.png|right]] When you want to declare a new function you can type the name and then invoke Content Assistance (Ctrl+Space). A function block will be created for you.&lt;/div&gt;</summary>
		<author><name>Mortimer</name></author>
	</entry>
</feed>