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.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo