As I wanted to learn plugin programming for java editor Eclipse, I made an editor for POTC location script files.
<img src="http://home.arcor.de/swigard/Pictures/LocationsPlugin.gif" border="0" class="linked-image" />
The plugin can be downloaded from <a href="http://home.arcor.de/swigard/Downloads/Eclipse/" target="_blank">my homepage</a>.
Note that you need to download (<a href="http://www.eclipse.org/downloads/index.php" target="_blank">here</a>) and install Eclipse first. It is a bit of overhead just to edit POTC script files, but I'm an Eclipse fan anyway.
To test the locations editor, just make an Eclipse project that points to the POTC installation directory in the file system and right-click on a .c file in the locations directory. From the context menu, select Open With / Location Editor.
The editor has two pages - one that shows the POTC script text, the other a structered overview as seen in the screenshot. Both can be edited and will be automatically synchronized. (One warning: comments in the script file get partially lost in this process.)
With one click you can add a new location definition with some default settings to the file, or delete a location definition.
This editor works only for location files - other .c files in the project need to be opened with the standard java editor. (Eclipse allows you to configure that via the Window / Preferences menu (General / Editors / File associations).)
<img src="http://home.arcor.de/swigard/Pictures/LocationsPlugin.gif" border="0" class="linked-image" />
The plugin can be downloaded from <a href="http://home.arcor.de/swigard/Downloads/Eclipse/" target="_blank">my homepage</a>.
Note that you need to download (<a href="http://www.eclipse.org/downloads/index.php" target="_blank">here</a>) and install Eclipse first. It is a bit of overhead just to edit POTC script files, but I'm an Eclipse fan anyway.
To test the locations editor, just make an Eclipse project that points to the POTC installation directory in the file system and right-click on a .c file in the locations directory. From the context menu, select Open With / Location Editor.
The editor has two pages - one that shows the POTC script text, the other a structered overview as seen in the screenshot. Both can be edited and will be automatically synchronized. (One warning: comments in the script file get partially lost in this process.)
With one click you can add a new location definition with some default settings to the file, or delete a location definition.
This editor works only for location files - other .c files in the project need to be opened with the standard java editor. (Eclipse allows you to configure that via the Window / Preferences menu (General / Editors / File associations).)