This shouldn't be difficult to do, and would give RDT another, cooler
potential feature: RI/RubyDoc documentation on hover like Javadocs are
with Java :)

I'd think this is as simple as creating a node to contain comments and
sticking them in there rather than skipping them, no? Perhaps we could
even hook into RI/Rubydoc subsystem to create DocNodes too...

On 4/25/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:
> On Tue, 25 Apr 2006, Mirko Stocker defenestrated me:
> > And by the way, am I right that comments aren't in the AST? Because that's 
> > the
> > next thing that gives me a headache :)
>
>   We don't and neither does C Ruby.  Our parser is based on theirs and
> we both eat comments in the lexing process.  We could consider preserving
> them in the AST (and only turn this on as an option).  I suspect all the
> Ruby IDEs using JRuby will want this at some point anyways.

--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to