Hello!
On Apr 11, 2006, at 9:53 AM, Mirko Stocker wrote:
We are students at the university of applied science in Rapperswil,
Switzerland. We are working on a project to bring refactoring-
support to the
RDT. The project is under the supervision of Prof. Peter Sommerlad.
You can
find our project-wiki at http://morki.ch/rubyrefactoring (it's in
german),
feel free to contribute.
That's great to hear. Sorry I took so long to respond!
Currently, we are analyzing the RDT-code and are looking for a
point where we
can add our extensions. Can anybody give us some advice? Is there any
architectural documentation? Where would be the best place to
start? We are
grateful for any information :)
You can forward any architectural questions to me (and cc in the
list). I probably have the best idea of what's going on in there.
Unfortunately there is no current documentation. Essentially for a
lot of the core model stuff we copied the JDT and modified it to fit
Ruby better. I can give you a good idea of how we translate JRuby's
AST nodes from their parser into our internal model, and the makeup
of that model. (It's not too hard - see the RubyElement hierarchy).
We haven't begun trying to do some of the more complicated stuff they
do in translating from selected text into finding the declaration and
corresponding RubyElement, etc.
The best place to start is to take a look at Eclipse's refactoring
framework - http://www.eclipse.org/articles/Article-LTK/ltk.html
Next I'd take a look at how the JDT does it and see if the same
principles can be applied to RDT in some way. I know that they have a
significant amount of code around this and you may want to look at it
as a point of reference but try to come up with something simpler
(and also try to start easily - like extract method/constant).
Please let me know of any way i can be of help in guiding you along.
Thanks,
Chris
-------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development