JEdit and ActionScript:
The collected files
It is our goal to create a following for jEdit among ActionScript programmers (particularly those using OS X), as the editor is one of the few “newbie-friendly,” cross-platform environments that can be used for practically any programming language, and can be made to shine as a customized AS editor. Unlike Eclipse, jEdit is an editor (not an IDE), and therefore allows you to work your way. Give it a try with these additions, and we think you’ll be impressed!
Unless otherwise noted (e.g., within an attached README.txt file), the following files should be unzipped and their contents placed in your jEdit macros directory. These were written with OS X in mind, but should work fine on other platforms so long as they are edited as indicated.
ActionScript 2 context-sensitive help
ActionScript 3 context-sensitive help
Flex SDK context-sensitive help (from Ali Rantakari at hasseg.org)
Test the current script within the Flash IDE (Note, this has been updated to include Flash CS3 error trapping for debugging ActionScript within jEdit. The original files, which do not include this functionality (and should work with previous versions of Flash), can be found here.
Plugins and enhancements
OS X look-and-feel enhancements
The following file should be placed in your $JAVA_HOME/Home/lib/ext directory to improve the look of the jEdit interface on OS X:
ActionScript 3 edit mode
An ActionScript 3 edit mode was created by JesÃºs Gollonet, who created and hosts the file on his site:
ActionScript code browsing through the Sidekick panel
These steps are explained in more detail in this article, but the following steps should turn the Sidekick panel into an extremely helpful ActionScript code-browsing panel:
- Download and unpack ctags with ActionScript support (OS X) or ctags with ActionScript support (Win) and place the ctags file in your executable path.
- Install the CtagsSidekick plugin through jEdit’s Plugin Manager and change the Sidekick plugins’ settings to use Ctags to parse ActionScript
- Install the optional icon sets. Instructions are included within the zip file.
The jEdit series on Turdhead.com
ActionScript 3 edit mode (Same as above)
Flex SDK context-sensitive help (Same as above)