[RSS]

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.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.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.png

You'll find further building instructions in the RubyBuildInstructions document.

Attachments

astviewer-editor.png Info on astviewer-editor.png 30655 bytes
astviewer-menu.png Info on astviewer-menu.png 37390 bytes
astviewer.png Info on astviewer.png 53765 bytes