I have bunch of groovy scripts in various directories (not necessarily netbeans/maven project dirs). I have been using Notepad++ and Netbeans to create/edit these scripts. I favorite the directories containing scripts in NB so that I can open it in NB (from the favorites tree) without having to have a java project. I usually fire-up cygwin thorugh putty-cyg to execute/test these scripts. Netbeans offers a decent terminal as well within IDE where i can issue commands without ALT-TAB'ing the IDE and Putty-Cyg. All is working nicely.
Just thought how nice it would be if I could have a Run Script in the context menu where I can run a script (and optionally it may ask for scripts arguments too). This would save a lot of ALT-TABing and cd'ing into scripts directory and typing groovy scriptname.groovy.
- Can anyone suggest any plugin that allows me to do so?
- If I have to write my own plugin for that same task, how should I start? (I checked out nb plugin/platform docs, its overwhelming).
- If someone is in same situation as I, feel free to share experiences.
pros/cons of NPP : fast / no auto-complete, its not IDE, no lang support for groovy
pros/cons of NB : everything at one place, lang support, somewhat auto-completes for groovy/ bit sluggish, takes time to start up, you must be in java (ant/maven) project directory to reap most of IDE benefits
Eclipse support is okay but it does not do what i am asking above. I am downloading IDEA community edition to check its support. (UPDATE: Nope it doesn't. I tried it)