This is the IDE that we are using in my course http://processing.org/ However it's very buggy with my computer and I love to use Notepad++
How can I make it so that when I press execute in Notepad++, it will compile the file in processing automatically and if there's any errors, it will be ported into Notepad++ showing the line with the error and error message?
use nppExec plugin for notepad++, install it from [notepad++: plugins -> plugin manager -> show plugin manager]
[notepad++: plugins -> nppexec -> console output], set both to utf-8 (optional tbh, but I use it for python)
[notepad++: plugins -> nppexec -> execute ] paste in the following exactly, but change the path at the start of the line to point to your processing directory
"D:\processing-2.0\processing-java.exe" --run --force --sketch="$(CURRENT_DIRECTORY)" --output="$(CURRENT_DIRECTORY)/ouput"
then save it as a macro
[notepad++: plugins -> nppexec -> advanced options ], use the associate script dropdown to add a menu item, with the 'add/modify' button
click the checkbox at the top that says 'place to the macros submenu' (optional probably)
[notepad++: settings -> shortcut mapper]
look in 'plugins' section
you'll find an entry for the menu item you just created, map a key to it (eg alt-f5)
There is a nice language def for syntax highlighting processing on http://intuitionlogic.com/post/2011/03/15/A-Notepad++-language-definition-file-for-ProcessingProcessingjs.aspx
Save it as .xml then use [language -> Define]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With