wudsn-ide/com.wudsn.ide.lng/help/ide-features.section.html
2023-08-28 01:48:17 +02:00

670 lines
43 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>The latest version contains the following features:</p>
<ul>
<li><a href="#IDE">General IDE Enhancements</a></li>
<li><a href="#Editor">Fully Integrated Assembler Editor</a></li>
<li><a href="#ContentOutline">Content Outline and Source Folding</a></li>
<li><a href="#ContentAssistance">Content Assistance and Code Completion</a></li>
<li><a href="#Hyperlinks">Hyperlink Navigation</a></li>
<li><a href="#HexEditor">Hex Editor</a></li>
<li><a href="#GraphicsConversionEditor">Graphics Conversion Editor</a></li>
<li><a href="#PreferencesForEditing">Preferences for Editing</a></li>
<li><a href="#PreferenesForBuidingAndRunning">Preferences for Building and Running</a></li>
<li><a href="#AnnotationsForBuilding">Annotations for Building</a></li>
<li><a href="#PlannedFeatures">Planned Features</a></li>
<li><a href="#KnownBugs">Known Bugs</a></li>
</ul>
<h5 id="IDE">General IDE Enhancements</h5>
<ul>
<li>The "Open Folder" context menu is available for all folders and files.</li>
<li>The "Sort" context menu with sub-menu is available for all text files, including <br />
<ul>
<li>Case-sensitive, case-insensitive, and numeric sorting</li>
<li>Sorting with and without removal of duplicates</li>
<li>Reverse ordering</li>
</ul>
<img src="productions/java/ide/features/ide-common-context-menu-open-folder.png" alt="Open folder action in context menu" /> <img src="productions/java/ide/features/ide-text-editor-context-menu.png" alt="Sort action in text editor context menu" /></li>
<li>The online help contains the "WUDSN IDE Guide" with the following multiple sections.
<ul>
<li>WUDSN IDE <br />This is the documentation from the website.
<ul>
<li>Video links to the tutorial and release news</li>
<li>Features</li>
<li>Installation</li>
<li>FQA</li>
<li>Link</li>
</ul>
</li>
<li>Assemblers<br />This is the information on the supported assemblers and their properties.
<ul>
<li>General<br />Links, syntax, and support features.</li>
<li>Instructions<br />All supported instructions, including their descriptions, are grouped by type.</li>
<li>Manual<br />Direct access to the PDF, HTML, or text manual files or files that are part of the installation.</li>
</ul>
</li>
<li>Hardware Platforms<br />The information on the supported hardware platforms and the corresponding emulators and links.
<ul>
<li>Reference documentation - Hardware-specific PDF, HTML, or text files with CPU and customer chips reference sheets and programming guides</li>
</ul>
</li>
</ul>
<br /><img src="productions/java/ide/features/ide-help.gif" alt="Integrated Help" /></li>
</ul>
<h5 id="Editor">Fully Integrated Assembler Editor</h5>
<ul>
<li>The Eclipse platform contains editors like, for example, the generic text editor. Editors can support one or more content types identified by file extensions. One editor can be the default for a specific file extension. WUDSN IDE provides an assembler editor and a corresponding content type for every compiler. Every assembler editor has an associated default compiler, which defines via the preferences which application is used to run the output file. <br /><img src="productions/java/ide/features/ide-editor-content-types.png" alt="IDE editors, content types and file associations" /></li>
<li>Content types and file associations for Atari 2600 compilers 
<ul>
<li>DASM Source File (*.asm)</li>
</ul>
</li>
<li>Content types and file associations for Atari 8-bit compilers
<ul>
<li>ATASM Source File (*.asm)</li>
<li>MADS Source File (*.asm, default)</li>
<li>XASM Source File (*.asx, default)</li>
</ul>
</li>
<li>Content types and file associations for C64 compilers
<ul>
<li>ACME Source File (*.a, default)</li>
</ul>
</li>
<li>New content types and file associations for NES compilers
<ul>
<li>ASM6 Source File (*.asm)</li>
</ul>
</li>
<li>The default editor for a file extension can be configured in the "File Associations" section of the preferences with the "Default " button.<br /><img src="productions/java/ide/features/ide-editor-file-associations.gif" alt="IDE file associations" /></li>
<li>Syntax highlighting provides colors and styles for comments, directives, different types of identifiers, legal opcodes, illegal opcodes, pseudo opcodes, and strings.</li>
<li>Single-line comments for the current line selection can be toggled using "CTRL-7" or the editor context menu entry "Toggle Comment".</li>
<li>Support for illegal opcodes of the 6502 CPU is configurable.</li>
<li>Support for 16-bit opcodes of the WDC 65816 CPU is configurable.</li>
<li>Built-in support for <a href="https://atari.miribilist.com/atasm" target="_blank" rel="noopener noreferrer">ATASM assembler</a>, <a href="https://mads.atari8.info" target="_blank" rel="noopener noreferrer">MADS assembler</a>, <a href="https://github.com/pfusik/xasm" target="_blank" rel="noopener noreferrer">XASM assembler</a>, <a href="https://sourceforge.net/projects/acme-crossass" target="_blank" rel="noopener noreferrer">ACME assembler</a></li>
<li>Built-in support for running compiler output files with the operating system default application without configuration effort</li>
<li>Built-in support for <a href="http://www.virtualdub.org/altirra.html" target="_blank" rel="noopener noreferrer">Altirra emulator</a>, <a href="https://github.com/Jaskier/Atari800Win-PLus/" target="_blank" rel="noopener noreferrer">Atari800Win emulator</a>, <a href="https://www.atarimac.com/atari800macx.php" target="_blank" rel="noopener noreferrer">Atari800MacX emulator</a>, <a href="http://www.xl-project.com" target="_blank" rel="noopener noreferrer">Atari++ emulator</a></li>
<li>Adding support for new compilers and applications is possible via Eclipse extension points.<br /><img src="productions/java/ide/features/ide-compiler-extensions.png" alt="IDE compiler extensions" /></li>
<li>Build or build and run with a single keystroke or via the menu.</li>
<li>Toolbar button for "Build and Run", which adapts to the hardware of the currently opened editor. For example, it will show a C64 icon when using the "ACME (C64)" editor.</li>
<li>The toolbar button for "Build and Run" offers a pulldown menu that allows running the output file with any of the applications configured in the preferences. You can run the output file quickly with different emulators without changing the preferences. That can be very helpful if one emulator shows another behavior or if you have specified a build script as a user-defined application in the preferences.<br /><img style="vertical-align: top;" src="productions/java/ide/features/ide-assembler-run-with-atari2600.png" alt="Run with... for Atari 2600" /> <img style="vertical-align: top;" src="productions/java/ide/features/ide-assembler-run-with-atari8.png" alt="Run with... for Atari 8-bit" /> <img style="vertical-align: top;" src="productions/java/ide/features/ide-assembler-run-with-c64.png" alt="Run with... for C64" /></li>
<li>The "Open Source Folder" and "Open Output Folder" entries the respective folder directly from the menu.</li>
<li>The "Language Help" entry opens the language-specific help from the menu if the documentation is available in the default folder structure of the assembler/compiler executable.<br />TODO: Note that the images below are outdated and must be updated.<br /><img src="productions/java/ide/features/ide-assembler-menu.png" alt="IDE assembler menu" /></li>
<li>The complete list of assembler/compiler errors and warning messages in the problems view.</li>
<li>Direct navigation to the source location is supported by double-clicking the problem message.</li>
<li>Problem markers in the scroll area, including the tooltip with the problem message.<br /><img src="productions/java/ide/features/ide-example-source.png" alt="IDE example source" /></li>
<li>German localization is available for all Eclipse plugin texts. The original compiler messages are not translated, but some are mapped automatically.<br />
<ul>
<li>ATASM ".bank" warnings are mapped to info messages.</li>
</ul>
</li>
<li>The console view with compiler output opens automatically in the background after compiling, which is helpful in cases where the plugin is incomplete. The "Console" window is automatically brought to the front when the assembler/compiler starts. This prevents the compiler output from being hidden behind other consoles in the console view.<br /><img src="productions/java/ide/features/ide-compiler-console.png" alt="IDE compiler console view" /></li>
</ul>
<h5 id="ContentOutline">Content Outline and Source Folding</h5>
<p>The content outline and the folder of source code sections are two of the most helpful features of WUDSN IDE. They help you navigate and manage even huge source files efficiently. The standard menu "Window / Show View / Outline" activates the content outline. Source folding requires the content outline to be active. The content outline has the following features.</p>
<ul>
<li>Nesting.</li>
<li>Type-specific icons.</li>
<li>Automated asynchronous parsing while typing.</li>
<li>Automated recursive parsing of source includes and merges with the current outline.</li>
<li>Positioning in the content outline remains stable while typing unless structure changes appear.</li>
<li>Outline is supported for
<ul>
<li>equate definitions (including equates from defining expression)</li>
<li>labels</li>
<li>and variable definitions</li>
<li>source includes</li>
<li>binary includes</li>
</ul>
</li>
<li>Outline and folding are supported for
<ul>
<li>definition section</li>
<li>implementation sections</li>
<li>enum definition</li>
<li>struct definitions</li>
<li>macro definitions</li>
<li>repeat sections</li>
<li>procedure definitions</li>
<li>local sections.</li>
</ul>
</li>
<li>The line-end comment is a short description in the outline.</li>
<li>The toolbar has a button to toggle the sorting order of the sections and labels. The state of the toggle button is persisted automatically along with the respective source file. The setting from the currently opened file will be used for files that do not have a value set yet.<br /><img src="productions/java/ide/features/ide-content-outline.gif" alt="IDE content outline" /></li>
<li>Folding is activated automatically when the outline is visible.</li>
<li>Folding is nested with a tooltip for folded sections.</li>
<li>Folding is supported for if/else/endif blocks. <br /><img src="productions/java/ide/features/ide-content-folding.gif" alt="IDE content folding" /></li>
</ul>
<h5 id="ContentAssistance">Content Assistance and Code Completion</h5>
<p>Content assistance provides proposals as you type and lets you enter code more efficiently. Content assistance is activated by pressing "CTRL-Space" or automatically by typing special characters. The content assistance has the following features.</p>
<ul>
<li>Content assistance for directives, legal, illegal, and pseudo-opcodes.</li>
<li>Recognizes if there is already an instruction in the current line and suggests the available identifiers instead if this is the case. It supports global identifiers in the active source file and source files included from there. </li>
<li>Completion proposal auto-activation without pressing "CTRL-Space" after typing compiler-dependent characters, for example, "." in ATASM, "." or "#" in MADS, and "!" in ACME</li>
<li>Type-specific icon and mnemonic highlighting.</li>
<li>Progressive filtering as you type.</li>
<li>Automatic detection of lower-case/upper-case based on current input.</li>
<li>Configurable default case (lower-case, upper-case) via preferences. <br /><img src="productions/java/ide/features/ide-content-assist.gif" alt="IDE content assist" /></li>
<li>Multi-line content completion and explicit cursor positioning, for example, ".MA" becomes "<code>.MACRO &lt;cursor is here&gt; &lt;newline&gt;.ENDM</code>".<br /><img src="productions/java/ide/features/ide-content-completion-instruction.gif" alt="Muli-line content completion and cursor positioning" /></li>
</ul>
<h5 id="Hyperlinks">Hyperlink Navigation</h5>
<p>The source code editor provides detection for different types of links in the source code. You can navigate to other parts of the file, other files, or websites via these links. You activate the hyperlink navigation by pressing "CTRL". The hyperlink navigation has the following features.</p>
<ul>
<li>Hyperlink navigation via CTRL-click to source includes and binary includes.</li>
<li>Support for relative and absolute file paths.</li>
<li>Source files are always opened with the same assembler editor, irrespective of the extension.</li>
<li>Missing file extensions for source include statements are appended automatically where possible.</li>
<li>Option for binary include statements opening the file with:
<ul>
<li>The built-in hex editor</li>
<li>The built-in graphics editor</li>
<li>The default Eclipse editor (e.g., a text editor)</li>
<li>The system editor (e.g., an emulator or a paint program)</li>
</ul>
</li>
<li>Hyperlink navigation via CTRL-click to labels equates, local definitions, macro definitions, and procedure definitions. In case there is only one target, direct navigation takes place. In case there is more than one possible target, the type and line number of the target are displayed in a hyperlink popup. All included source files are also considered, like in the content outline. If targets are from different files, the file name is also displayed as a differentiator in the hyperlink popup. <br /><br /><img src="productions/java/ide/features/ide-hyperlink-navigation-source.png" alt="IDE navigation to source file" /> <br /><img src="productions/java/ide/features/ide-hyperlink-navigation-binary.png" alt="IDE navigation to binary file" /> <br /><img src="productions/java/ide/features/ide-hyperlink-navigation-identifier.png" alt="IDE navigation to labels, equates, local definitions, macro definitions and procedure definitions" /></li>
</ul>
<h5 id="HexEditor">Hex Editor</h5>
<p>The Hex Editor allows inspection of arbitrary files on the binary level. It has the following features.</p>
<ul>
<li>It is available via the context menu, including a multi-file selection to open several files simultaneously.<br /><img src="productions/java/ide/features/ide-common-context-menu-open-with-hex-editor.png" alt="Open With Hex Editor" /></li>
<li>The "Open With Hex Editor" menu entry closes an existing editor in case the file is already opened, forcing the file to be opened with the hex editor. In addition, the hex editor is set as the default editor for this file. Consequently, double-clicking the file in the package explorer will open it automatically with the hex editor, no matter which file type. This saves you from always using the context menu just because the file has no known file type. Using the "Open With" context menu entry, you can change the default editor again.</li>
<li>It is available via hyperlink navigation for binary include statements.</li>
<li>The content offers a context menu to copy parts of the file into the clipboard in different formats:
<ul>
<li>hex values (".byte $01,$02,...")</li>
<li>decimal values (".byte 1,2,...")</li>
<li>ASCII string</li>
</ul>
This is very helpful to turn parts of a file into source code. The possibility to copy/paste into the binary file to modify is prepared but not working yet and will be completed later. <br /><img src="productions/java/ide/features/ide-hex-editor-context-menu.png" alt="Hex Editor context menu" /></li>
<li>It detects and supports the type of the file. For example, binary files, Atari COM files, Atari Disk Images, and several other file types.<br /><img src="productions/java/ide/features/ide-hex-editor-binary-file.png" alt="Hex Editor file mode selection" /></li>
<li>The possible file modes for a binary file are computed automatically and used as default when opening the file.</li>
<li>Unsupported file modes are detected and cannot be used.</li>
<li>Files with a block structure get an outline in the outline view.</li>
<li>Files with a corrupted block structure are detected and displayed as well as possible.<br /><img src="productions/java/ide/features/ide-hex-editor-outline.png" alt="Hex Editor outline view" /> <br /><img src="productions/java/ide/features/ide-hex-editor-atari-com-file.png" alt="Hex Editor with corrupted Atari COM file " /></li>
</ul>
<h5 id="GraphicsConversionEditor">Graphics Conversion Editor</a></h5>
<p>The Graphics Conversion Editor views and converts many binary and image file formats. It has the following features.</p>
<ul>
<li>Viewer for binary files and 8-bit image files. <br />The most suitable supported converter and the corresponding default parameters are computed based on the file content, size, and extension. <br />The converters for the Atari standard image formats are based on <a href="https://sourceforge.net/projects/recoil" target="_blank" rel="noopener noreferrer">RECOIL fka. FAIL</a> is the excellent First Atari Image Library created by Piotr Fusik and Adrian Matoga. <br />
<table class="standard_table">
<tbody>
<tr>
<th>Platform</th>
<th>File Extension</th>
<th>File Format</th>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>AP3</td>
<td>80x192, 256 colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>APC</td>
<td>Any Point, Any Color, 80x96, 256 colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>CHR</td>
<td>8x8 charset, mono or multi-color</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>CCI</td>
<td>Champions' Interlace, 160x192, compressed</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>CIN</td>
<td>Champions' Interlace, 160x192</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>CHG</td>
<td>Gephard Hires Graphics, up to 320x200, mono</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>CPR</td>
<td>Trzmiel, 320x192, mono, compressed</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>FNT</td>
<td>Standard 8x8 font, mono</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>GR8</td>
<td>Standard 320x192, mono</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>GR9</td>
<td>Standard 80x192, grayscale</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>HIP</td>
<td>Hard Interlace Picture, 160x200, grayscale</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>HR</td>
<td>Hires 256x239, three colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>HR2</td>
<td>Hires 320x200, five colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>ILC</td>
<td>APAC 80x192, 256 colors interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>INP</td>
<td>Interlace Picture 160x200, seven colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>INT</td>
<td>INT95a, up to 160x239, 16 colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>MCP</td>
<td>McPainter, 160x200, 16 colors, interlaced</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>MIC</td>
<td>Micropainter 160x192, 4 colors</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>PIC</td>
<td>Koala MicroIllustrator, 160x192, 4 colors, compressed</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>PLM</td>
<td>Plama 256, 80x96, 256 colors</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>RIP</td>
<td>Rocky Interlace Picture, up to 160x239</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>SXS</td>
<td>16x16 font, mono</td>
</tr>
<tr>
<td>Atari 8-bit</td>
<td>TIP</td>
<td>Taquart Interlace Picture, up to 160x119</td>
</tr>
<tr>
<td>C64</td>
<td>64C</td>
<td>Charset, mono or multi-color</td>
</tr>
<tr>
<td>C64</td>
<td>SPR</td>
<td>Sprite, mono or multi-color</td>
</tr>
</tbody>
</table>
</li>
<li>Viewer for GIF/JPG/BMP/PNG images.</li>
<li>Available via context menu including multi-file-selection to open several files simultaneously.<br />TODO: This is no longer the case. This part of the documentation must be tested and updated.<br /><img src="productions/java/ide/features/ide-common-context-menu-open-with-graphics-editor.png" alt="Open With Graphics Editor" /></li>
<li>The "Open With Graphics Editor" menu entry closes an existing editor in case the file is already opened, forcing the file to be opened with the graphics editor. In addition, the graphics editor is set as the default editor for this file. Consequently, double-clicking the file in the package explorer will open it automatically with the graphics editor, no matter which file type. This saves you from always using the context menu just because the file has no known file type. Using the "Open With" context menu entry, you can change the default editor again.</li>
<li>Available via hyperlink navigation for binary include statements.</li>
<li>Conversion from binary or 8-bit image files to GIF/JPG/BMP/PNG images.
<ul>
<li>Up to three source files, depending on the converter.</li>
<li>A configurable start offset for every source file helps extract character sets.</li>
<li>A configurable palette via the Image Palette view.</li>
<li>A configurable number of rows and columns.</li>
<li>Configurable spacing width and color to separate tiles and unused areas.</li>
<li>Separate aspect ratio for displaying and saving the image file.</li>
</ul>
<img src="productions/java/ide/features/ide-graphics-editor-files-to-image.gif" alt="Conversion from binary files or 8-bit images files to GIF/JPG/BMP/PNG images" /></li>
<li>Conversion from GIF/JPG/BMP/PNG images to binary files or 8-bit images using JavaScript.
<ul>
<li>Separate aspect ratio for loading and displaying the image file</li>
<li>Default scripts are included. They can be adjusted and saved along with the other parameters.</li>
</ul>
<br /><img src="productions/java/ide/features/ide-graphics-editor-image-to-files.gif" alt="Conversion from GIF/JPG/BMP/PNG images to binary files or 8-bit images files" /></li>
<li>The image palette view associated with the graphics editor displays the palette entries and the color histogram. It supports filtering unused colors, sorting by index and color frequencies, pre-settings, and editing the palette when displaying 8-bit images.<br /><img src="productions/java/ide/features/ide-graphics-editor-image-palette-view.gif" alt="Image palette view" /></li>
<li>Conversion files with the extension ".cnv" save the conversion direction and parameters.</li>
<li>Support for relative file paths. If the file path is in the same folder as the ".cnv" file, it is automatically converted to a relative file path when the file name is defaulted or picked from the file browser dialog. This allows us to move the ".cnv" and referenced source files together without breaking the saved paths.</li>
</ul>
<h5 id="PreferencesForEditing">Preferences for Editing</h5>
<p>The WUDSN IDE editor is configurable via language-specific preferences. They are a<span style="font-size: 1rem;">vailable via the entry "Preferences" from the menu "Window" (under Windows and Linux) or the menu "Eclipse" (under macOS) and include the following.</span></p>
<ul>
<li>Configuration of syntax highlighting colors and styles for comments, directives, all types of identifiers, legal opcodes, illegal opcodes, numbers, pseudo opcodes, and strings.</li>
<li>For non-unique identifiers, the syntax highlighting will try to be the best guess.</li>
<li>Configuration of default case in content assistance.<br /><img src="productions/java/ide/features/ide-assembler-preferences-editor.png" alt="Preferences for compilers" /></li>
</ul>
<h5 id="PreferencesForBuidingAndRunning">Preferences for Building and Running</h5>
<p>The build process of WUDSN IDE is configurable via language and assembler/compiler-specific preferences. They are available via the entry "Preferences" from the menu "Window" (under Windows and Linux) or the menu "Eclipse" (under macOS)</p>
<ul>
<li>Download links, configurable paths, and default parameters are provided for all assemblers and compilers.</li>
<li>The path to the downloaded executable file can be configured in the language preferences once for all target platforms.</li>
<li>If no path is configured, WUDSN IDE will look for the executable file in the "Tools" folder of the installation.</li>
<li>The default file extension filter for selecting executable files is "*.exe" on Windows and "*.*" on all other operating systems.</li>
<li>The "Apply Defaults" button explicitly does not reset the paths to the executable files.</li>
<li>Building preferences can be maintained for all assemblers/compilers where an executable file is configured.</li>
<li>The active editor's language and assembler/compiler tabs are activated automatically upon opening the language preferences.</li>
<li>Via the "Target" option, you can activate the support for illegal opcodes of the 6502 CPU and 16-bit opcodes of the WDC 65816 CPU in syntax highlighting and content assistance.<br />The selection is offered only if the assembler supports the respective feature.</li>
<li>Build parameters can be specified per assembler/compiler. If no explicit values are specified, predefined defaults to run out-of-the-box are displayed and used.</li>
<li>Variables provide access to the project or file-specific paths in parameters:
<ul>
<li>{$sourceFolderPath}<br />The absolute path to the source folder.</li>
<li>{$sourceFilePath}<br />The absolute path to the source file.</li>
<li>{$outputFolderPath}<br />The absolute path to the output folder.</li>
<li>{$outputFilePath}<br />The absolute path to the output file.</li>
<li>{$outputFileName}<br />The name of the output file, including its extension, for example, "TestFile123.asm".</li>
<li>{$outputFileNameWithoutExtension}<br />The name of the output file without an extension, for example, "TestFile123".</li>
<li>{$outputFileNameShortWithoutExtension}<br />The name of the output file without extension is shortened to 8 alphanumeric characters, for example, "TESTFILE".</li>
</ul>
Make sure that you don't remove parameters when you specify your values.<br />If not, creating the label definition file or parsing the compiler log may fail.
<ul>
<li>ATASM requires the "-s" parameter to be present".</li>
<li>MADS requires the "-p" parameter to be present.</li>
<li>ACME requires the "!to" directive in the source to be commented out to ensure the output file name from the command line is used.</li>
</ul>
</li>
</ul>
<p>In addition, the application to run the outcome of the build process, typically an emulator, can be configured. Download links for every supported application are offered in the preferences.</p>
<ul>
<li>The path to the downloaded application executable file can be configured in the language preferences once for all target platforms.</li>
<li>If no path is configured, WUDSN IDE will look for the executable file in the "Tools" folder of the installation.</li>
<li>The default file extension filter for selecting executable files is "*.exe" on Windows and "*.*" on all other operating systems.</li>
</ul>
<p>The preferences for the applications to run the result of the build process can be maintained for all assemblers/compilers in parallel. They include:</p>
<ul>
<li>Selection of the application to run the outcome of the build process:
<ul>
<li>Use the "Operating System Default Application" of the platform.<br />For Windows and macOS, choosing the "Operating System Default Application" means that for the ".xex" file extension, the emulator will be started automatically without any further configuration.</li>
<li>Use one of the predefined applications and optionally change the command line.</li>
<li>Use a user-defined application to open the output file.</li>
</ul>
</li>
<li>Run parameters per assembler/compiler and application can be specified. If no explicit values are specified, predefined defaults to run out-of-the-box are displayed and used.</li>
<li>Variables provide access to the project or file-specific paths in parameters:
<ul>
<li>{$runnerExecutablePath}<br />The absolute path to the executable of the application.</li>
<li>{$sourceFolderPath}<br />The absolute path to the source folder.</li>
<li>{$sourceFilePath}<br />The absolute path to the source file.</li>
<li>{$outputFolderPath}<br />The absolute path to the output folder.</li>
<li>{$outputFilePath}<br />The absolute path to the output file.</li>
<li>{$outputFileName}<br />The name of the output file, including its extension, for example, "TestFile123.asm".</li>
<li>{$outputFileNameWithoutExtension}<br />The name of the output file without an extension, for example, "TestFile123".</li>
<li>{$outputFileNameShortWithoutExtension}<br />The name of the output file without extension is shortened to 8 alphanumeric characters, for example, "TESTFILE".<br />TODO: Note that the images below are outdated and must be updated.<br /><img src="productions/java/ide/features/ide-assembler-preferences-compilers.gif" alt="Preferences for compilers" /></li>
</ul>
</li>
</ul>
<h5 id="AnnotationsForBuiding">Annotations for Building</h5>
<ul>
<li>For most use cases, the defaults provided for the compilers and in the preferences are sufficient. But suppose you want to develop in parallel in multiple projects for different platforms (e.g., Apple II and Atari 8-bit) or various output formats (".XEX" and ".BIN") with the same assembler/compiler. In that case, changing the preferences every time may become cumbersome. Therefore, WUDSN IDE offers annotations to put into the source code files. These annotations override the defaults and the settings from the preferences.</li>
<li>All language annotations start with the prefix "@com.wudsn.ide.lng." followed by the lower-case name of the annotation, an equals sign, and the unquoted value. Example: "@com.wudsn.ide.lng.hardware=ATARI8BIT"</li>
<li>In earlier versions of WUDSN, language annotations started with the prefix "@com.wudsn.ide.asm.". While they are still evaluated, adapting to the new prefix is strongly recommended.</li>
<li>All annotations can be placed in comment lines at the beginning of a source file. Some annotations are only relevant for the main source file. Some are only relevant in include source files. Some are relevant for all source files.</li>
<li>@com.wudsn.ide.lng.hardware
<ul>
<li>Defines the target hardware for which the preferences shall be evaluated, mainly which emulator runs the output file.</li>
<li>Allowed values are "APPLE2", "ATARI2600", "ATARI7800", "ATARI8BIT", "C64", "NES".</li>
<li>This annotation is relevant for all source files.</li>
<li>This annotation is only evaluated when a file is opened. So, if you add this annotation or change its value, you must close and re-open the file once.</li>
<li>Example: @com.wudsn.ide.lng.hardware=ATARI8BIT</li>
</ul>
</li>
<li>@com.wudsn.ide.lng.mainsourcefile
<ul>
<li>Defines the main source file to which the current source file belongs. When executing the "Compile" action, the primary source file is compiled instead of the active file.</li>
<li>Allowed values are file paths relative to the current folder, including source file and absolute file paths.</li>
<li>This annotation is only relevant in include source files.</li>
<li>Example: @com.wudsn.ide.lng.mainsourcefile=ExampleMain.asm</li>
</ul>
</li>
<li>@com.wudsn.ide.lng.outputfoldermode
<ul>
<li>Overrides the "Output Folder Mode" from the preferences.</li>
<li>Allowed values are "SOURCE_FOLDER", "TEMP_FOLDER", and "FIXED_FOLDER".</li>
<li>This annotation is only relevant in the main source file.</li>
<li>Example: @com.wudsn.ide.lng.outputfoldermode=SOURCE_FOLDER</li>
</ul>
</li>
<li>@com.wudsn.ide.lng.outputfolder
<ul>
<li>Overrides the "Output Folder" from the preferences and the "@com.wudsn.ide.lng.outputfoldermode" annotation.</li>
<li>Allowed values are file paths relative to the folder of the main source file and absolute file paths.</li>
<li>This annotation is only relevant in the main source file.</li>
<li>Example: @com.wudsn.ide.lng.outputfolder=..\out</li>
</ul>
</li>
<li>@com.wudsn.ide.lng.outputfileextension
<ul>
<li>Overrides the "Output File Extension" from the preferences.</li>
<li>Allowed values have to start with a period.</li>
<li>This annotation is only relevant in the main source file.</li>
<li>Example: @com.wudsn.ide.lng.outputfileextension=.bin</li>
</ul>
</li>
<li>@com.wudsn.ide.lng.outputfile
<ul>
<li>Overrides the "Output Folder" and "Output File Extension" values from the preferences and the automatic computation of the out file name based on the primary source file name.</li>
<li>Allowed values are file paths relative to the folder of the primary source file and absolute file paths.</li>
<li>This annotation is only relevant in the main source file.</li>
<li>Example: @com.wudsn.ide.lng.outputfile=..\out\output.bin</li>
</ul>
</li>
</ul>
<h5 id="PlannedFeatures">Planned Features</h5>
<ul>
<li>Planned features are listed as issues of category "enhancement" on <a href="https://github.com/wudsn/wudsn-ide/issues" target="_blank" rel="noopener">GitHub</a>. There, you can also request new features.</li>
<li>The table below shows the current core feature set that depends on the compiler. <br />Features not supported by the compiler itself and hence cannot be supported by the IDE are marked as "n/a". <br />
<table>
<tbody>
<tr style="height: 48px;">
<th style="width: 4.81912%; height: 48px;">Compiler</th>
<th style="width: 9.14503%; height: 48px;">Default Hardware</th>
<th style="width: 14.66%; height: 48px;">Auto-Completion Activation</th>
<th style="width: 12.0473%; height: 48px;">Single-Line Comments</th>
<th style="width: 9.08325%; height: 48px;">Block Comments</th>
<th style="width: 3.83079%; height: 48px;">Strings</th>
<th style="width: 4.75832%; height: 48px;">Opcodes</th>
<th style="width: 5.31619%; height: 48px;">Directives</th>
<th style="width: 11.1208%; height: 48px;">Compile Log Parsing</th>
<th style="width: 8.33815%; height: 48px;">Content Outline</th>
<th style="width: 14.6408%; height: 48px;">Label Definition File Format</th>
</tr>
<tr style="height: 24px;">
<td style="width: 4.81912%; height: 24px;">ACME</td>
<td style="width: 9.14503%; height: 24px;">C64</td>
<td style="width: 14.66%; height: 24px;">Yes: !</td>
<td style="width: 12.0473%; height: 24px;">Yes: ;|</td>
<td style="width: 9.08325%; height: 24px;">n/a</td>
<td style="width: 3.83079%; height: 24px;">Yes: "</td>
<td style="width: 4.75832%; height: 24px;">Yes</td>
<td style="width: 5.31619%; height: 24px;"><i>Partly</i></td>
<td style="width: 11.1208%; height: 24px;">Yes</td>
<td style="width: 8.33815%; height: 24px;"><i>Partly</i></td>
<td style="width: 14.6408%; height: 24px;">ACME</td>
</tr>
<tr style="height: 24px;">
<td style="width: 4.81912%; height: 24px;">ATASM</td>
<td style="width: 9.14503%; height: 24px;">Atari 8-bit</td>
<td style="width: 14.66%; height: 24px;">Yes: .</td>
<td style="width: 12.0473%; height: 24px;">Yes: ;</td>
<td style="width: 9.08325%; height: 24px;">n/a</td>
<td style="width: 3.83079%; height: 24px;">Yes: "</td>
<td style="width: 4.75832%; height: 24px;">Yes</td>
<td style="width: 5.31619%; height: 24px;">Yes</td>
<td style="width: 11.1208%; height: 24px;">Yes</td>
<td style="width: 8.33815%; height: 24px;">Yes</td>
<td style="width: 14.6408%; height: 24px;">XASM 3.0.1</td>
</tr>
<tr style="height: 24px;">
<td style="width: 4.81912%; height: 24px;">MADS</td>
<td style="width: 9.14503%; height: 24px;">Atari 8-bit</td>
<td style="width: 14.66%; height: 24px;">Yes: . #</td>
<td style="width: 12.0473%; height: 24px;">Yes: ; * //</td>
<td style="width: 9.08325%; height: 24px;">Yes</td>
<td style="width: 3.83079%; height: 24px;">Yes: ' "</td>
<td style="width: 4.75832%; height: 24px;">Yes</td>
<td style="width: 5.31619%; height: 24px;">Yes</td>
<td style="width: 11.1208%; height: 24px;">Yes</td>
<td style="width: 8.33815%; height: 24px;">Yes</td>
<td style="width: 14.6408%; height: 24px;">MADS</td>
</tr>
<tr style="height: 24px;">
<td style="width: 4.81912%; height: 24px;">XASM</td>
<td style="width: 9.14503%; height: 24px;">Atari 8-bit</td>
<td style="width: 14.66%; height: 24px;">n/a</td>
<td style="width: 12.0473%; height: 24px;">Yes: ; * |</td>
<td style="width: 9.08325%; height: 24px;">n/a</td>
<td style="width: 3.83079%; height: 24px;">Yes: ' "</td>
<td style="width: 4.75832%; height: 24px;">Yes</td>
<td style="width: 5.31619%; height: 24px;">Yes</td>
<td style="width: 11.1208%; height: 24px;">Yes</td>
<td style="width: 8.33815%; height: 24px;">Yes</td>
<td style="width: 14.6408%; height: 24px;">XASM 3.0.1</td>
</tr>
</tbody>
</table>
<h5 id="KnownBugs"></h5>
</li>
</ul>
<h5 id="KnownBugs">Known Bugs</h5>
<p>Open bugs:</p>
<ul>
<li>If you find any, please report them on <a href="https://github.com/peterdell/wudsn-ide/issues" target="_blank" rel="noopener">GitHub</a> or contact me directly</li>
</ul>
<p>Fixed bugs per release:</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>1.7.2 and newer can be found on <a href="https://github.com/peterdell/wudsn-ide/issues" target="_blank" rel="noopener">GitHub</a>.</li>
<li>1.6.5 <br />
<ul>
<li>Automatic creation of ".DSK" disk images for Apple II works correctly.</li>
<li>The dirty indicator in Graphics Editor is now updated correctly.</li>
</ul>
</li>
<li>1.6.4 <br />
<ul>
<li>The toolbar icons now work correctly with newer Eclipse versions.</li>
<li>Atari 8-bit Graphics 12 Converter works again.</li>
<li>The graphics editor now correctly closes the input stream for image files.</li>
<li>Empty selection and too large numbers no longer lead to exceptions when opening the context menu for "Convert...".</li>
<li>Pressing refresh in the graphics converter now always updates the image pane correctly, not only if the size has changed.</li>
<li>Inline repeats like ":64" in MADS are no longer detected as labels.</li>
<li>Hex Editor now correctly detects erroneous COM files if the segment length exceeds the file length (by one).</li>
<li>Disk images (for Apple II) are now updated if only "Build" instead of "Build and Run" is used.</li>
<li>Apple Commander integration is now part of the installation, as it should have been with 1.6.3.</li>
<li>The HELLO program generated for the auto-start disk images of Apple II now displays a title and uses "BLOAD/CALL" instead of "BRUN" because of this <a href="http://www.textfiles.com/apple/ANATOMY/cmd.brun.bload.txt">bug in Apple DOS</a>.
<pre>10 PRINT "Loading &lt;title&gt;" : PRINT CHR$(4);"BRUN WORLD" : CALL &lt;address&gt;</pre>
</li>
</ul>
</li>
<li>1.6.3 <br />
<ul>
<li>The first character of numbers is now correctly highlighted in "#123".</li>
<li>Source files included via "INCSRC" are now correctly detected for ASM6.</li>
</ul>
</li>
<li>1.6.2 <br />
<ul>
<li>Typing a "." to trigger the automatic content assistance no longer locks up.</li>
<li>The default color for illegal opcodes changed to red as it was intended.</li>
<li>German localization for the graphics editor is finally completed.</li>
<li>The sorting of applications in the preferences now is "Default, A...Z, User Defined" in non-English localizations.</li>
</ul>
</li>
<li>1.6.1 <br />
<ul>
<li>Clicking in the outline always positions the cursor correctly in the source, not only the first time.</li>
<li>All names of content types are now translated correctly in the preferences.</li>
<li>The "Open Folder" command now works for objects that can be adapted to resources or files - for example, project explorer entries for Java classes.</li>
</ul>
</li>
<li>1.6.0 <br />
<ul>
<li>Hyperlink navigation now works for labels containing an underscore.</li>
<li>The key binding for the "Compile" menu is now "Shift-Ctrl-9" because it turned out that "Ctrl-0" is not available in all cases.</li>
<li>The HexEditor also detects that the first block of a COM file is incorrect and displays this correctly.</li>
<li>Content assistance now correctly inserts new lines when inserting "#IF", "#WHILE", or ".TEST".</li>
<li>Fonts and color resources are disposed of correctly now.</li>
<li>Resetting to default syntax colors in the preferences works now.</li>
<li>Elements of ".ENUM" definitions are also recognized as equates if they do not start at position 0.</li>
<li>Elements of ".STRUCT" definitions are also recognized as labels if they do not start at position 0.</li>
<li>The cursor is now positioned to the first character of an equate or label if it is not defined starting at position 0.</li>
<li>The cursor is now positioned to the first character of an equate or label if it is not defined starting at position 0.</li>
</ul>
</li>
<li>1.5.0 <br />
<ul>
<li>Syntax highlighting remains active now also after "Save as...".</li>
<li>The cursor is now placed correctly by content assistance.</li>
<li>The key binding for the "Compile" menu is now "Ctrl-0" instead of "Ctrl-Alt-0", so entering "}" is now possible again.</li>
<li>XASM editor now correctly detects the "ORG" directive.</li>
<li>The assembler editor toolbar contribution now also displays the label "Assembler" in the customizing dialog for the perspective.</li>
</ul>
</li>
<li>1.4.4 <br />
<ul>
<li>The ".LOCAL" in ATASM does not start a folding section, while in MADS, it is a folding section from ".LOCAL" to ".ENDL".</li>
<li>"SIN()" and "RND()" in MADS are now recognized correctly, even if there are no spaces before or after the directive.</li>
<li>".EN" and ."END" in MADS are now recognized correctly.</li>
<li>Labels in "ORG" lines are now recognized correctly and rendered as separate tree entries.</li>
<li>Preferences for lower-case/upper-case instructions in content assistance are now evaluated for directives that do not start with letters like ".end".</li>
<li>When opening a file from outside the workspace, the actions to open folders and compile the file do nothing and will not cause exceptions. They will also be disabled once the new Eclipse version is mandatory.</li>
<li>A space now separates the 16 bytes per row in the hex editor.</li>
</ul>
</li>
<li>1.4.3 <br />
<ul>
<li>The output file is not opened anymore in case it has been there before but was not updated by the compiler due to errors.</li>
<li>The editor's scroll bar and cursor are now stable when the latest user input changes the outline.</li>
<li>The hex editor gets the focus correctly when clicking on already-opened files.</li>
</ul>
</li>
<li>1.4.2 <br />
<ul>
<li>The folder containing the output and symbols files is refreshed automatically after compiling to ensure that the Eclipse resource cache is in sync with the file system.</li>
<li>Line end comments are now used as a description for source and binary include nodes in the content outline.</li>
<li>The "Open Folder" context menu entry works again. This fixes a bug introduced in version 1.4.0.</li>
</ul>
</li>
<li>1.4.0 <br />
<ul>
<li>The "Assembler" menu is only visible if an Assembler editor is active. The contained entries and shortcuts are now disabled if no Assembler editor is active.</li>
<li>The output file is not deleted before the compiler is started. Instead, it is only checked for being writeable. This allows for direct compilation into an existing ATR image.</li>
<li>The application name used to open the output file is now included in the info message.</li>
</ul>
</li>
<li>1.3.2 <br />
<ul>
<li>The content outline sometimes only finds the first macro definition.</li>
<li>Folding did not show up in all situations.</li>
<li>Under macOS, the file select dialog can now choose an "*.app" folder because apps like "Atari800MacX.app" are folders. The solution is a workaround to the general Eclipse problem under macOS. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=82155">BUG 82155.</a></li>
</ul>
</li>
<li>Before 1.3.2 <br />
<ul>
<li>The "OK" and "Apply" buttons in the preferences are now always enabled, irrespective of the specified compiler and emulator paths.</li>
<li>The focus is not back in the editor window after compiling.</li>
<li>The syntax highlighting of illegal opcodes fixed now also uses the preferences setting.</li>
<li>The properties for the correct locale are now found on German operating systems.</li>
</ul>
</li>
</ul>
</li>
</ul>