Using JEdit as an alternative editor
in
Integration and Hardware
•
11 months ago
Since processing-2.0b5 the use of an external editor is being replaced with the ability to run pde scripts from the command line (actually as you probably already know, this a two stage process, the pde script gets converted to a java file using a pre-processor, the java class is then compiled and run).
Why should you be interested in this ability? Well it means that from the convenience of your favorite editor you can run the processing sketch using a macro (
single keyboard entry if you wish) that is assuming your editor supports it (vim, emacs, jedit, textmate, sublime2 are some that do). However it does take a bit of knowledge and effort to set it up, I've had a bit of experience with jEdit and I've created some of the necessary structure for you, read about it on
my blog. Because there are quite a few options available I have created a commando file (which creates a pop-up gui) rather than the single keystroke approach. Here is what the gui looks like (needs > processing-2.0b5 to run):-