RubyAstViewer
The JRuby AST Viewer
If you build the contrib/gsf.tools (ruby/gsf/tools for CVS) module, your Windows menu will contain some extra items helpful to developing Ruby+NetBeans support:
http://wiki.netbeans.org/wiki/attach/RubyAstViewer/astviewer-menu_RubyAstViewer.png
In particular, the AST viewer lets you peek at the AST generated for the current editor buffer. As your click on items in the source editor, the AST viewer warps to expose the corresponding AST node and its surrounding hierarchy:
http://wiki.netbeans.org/wiki/attach/RubyAstViewer/astviewer_RubyAstViewer.png
Conversely, if you click on AST nodes, the corresponding editor regions are highlighted in purple:
http://wiki.netbeans.org/wiki/attach/RubyAstViewer/astviewer-editor_RubyAstViewer.png
You'll find further building instructions in the RubyBuildInstructions document.
