On Thu, May 8, 2008 at 5:58 AM, Martin Krauskopf <
Martin.Krauskopf@...> wrote:
Hi all,
I've another small "poll". Few times we were asked if it is possible to
write NetBeans extensions in Ruby.
Hi Martin,
I have been thinking about this post for awhile now
and have some ideas on how I would like to script the IDE using ruby.
It would be good to be able to create GUI's to support specific
plugins, like special log parsers, code analysers, query analysers. All
the other sort of tools one might use during development that you want
to launch from the IDE and then parse and display the output.
For something like a code analyzer that gave say test coverage or
execution time of ruby code, to be able to parse the output and show
the data in a window that is specific to the current file active in the
editor (so the scriping would have to be able to query Netbeans for
current file and current project etc..).
Being able to add menu items and toolbar items would be good.
I
would like to be able to hook the run and debug actions to execute
pre-execution scripts. E.g. I have some rake tasks that are designed to
compile multiple javascripts into one javascript file. It would be good
to be able to trigger than rake task to happen before running the
project, or if the project is running to have the rake task execute on
file save (if the file is a javascript file).
Would be good to be able to add support for project management / defect tools into the IDE. E.g.
http://lighthouseapp.com or
http://unfuddle.com or
http://www.redmine.org which all have web services API's.
Anyway, there a few ideas!
Cheers,
Anthony Richardson