I wanted: - ProjectFile templates (I create all kinds of extra formatting stuff) - Code Snippets (Ctrl+B) (and a teeny bit of code coloring..just so I can do my thing quickly)
To add (fake) "Java Support" to FlashDevelop.
Open up: C:\Program Files\FlashDevelop\Settings\Languages\AS2.xml find and edit the following line adding java to the end... <file-extensions>as,asc,mx,java</file-extensions>
and restart flashdevelop. Edit your existing project adding the java build folder (java src) to the classpath so that you can get support like this. $(FileNameWithPackage);
You now can edit java files in FlashDevelop it has some code coloring and you can use snippets and templates as you pop back and forth between Eclipse or Netbeans.
Then create some templates and Snippets C:\Program Files\FlashDevelop\Templates\ProjectFiles\AS3Project\Java\JavaModel.java.fdt C:\Program Files\FlashDevelop\Snippets\as2\Java\println_var.fds
with stuff like this inside: package $(FileNameWithPackage);
Anyway it works. The snippets will show up because its associated with an AS2 context. And it'll still open when you have an AS3Project open because the .java is only associated with the AS2 context. (Don't use AS2 anymore)
Anyway, I'm happy :) Use it if you like. I do because I love the snippets/templates workflow of FD.
Only thing that would make me happier is real Java code completion/syntax coloring... :)
Sat Feb 05, 2011 9:13 am
Joined: Wed Aug 31, 2005 7:27 am Posts: 12172 Location: London