|Integrating DLTK in a RCP application [message #503944]
||Wed, 16 December 2009 15:12
Registered: October 2009
I am creating an RCP application that allows to create, run and debug scripts using Rhino. I already have a GUI that allows to edit scripts using an editor with syntax highlight, debugging and running the scripts.
It wasn't until I decided to add code completion, hover help and a code tree that I found about DLTK while researching on the topic. I would really appreciate an advice at this point on what is better for me to do:
2. I can keep my current work and try to use DLTK to build the AST and reuse as much as I can to provide code completion, hover help and a code tree.
Is there any place where I can have more information about how to do this?
|Re: Integrating DLTK in a RCP application [message #506751 is a reply to message #503944]
||Sat, 09 January 2010 12:58
| Alex Panchenko
Registered: July 2009
Sorry for the late answer.
You are right that DLTK Core depends on org.eclipse.core.resources and EMF. It's hard to avoid them anyway, since other Eclipse subsystems (Debug, Editors, etc.) also depend on resources.
So, you just include these plugins into your RCP application and users' projects would be setup in the workspace, etc. like it works for you now in JDT
Going this way would allow you to use DLTK plugins directly, without need to copy & paste individual classes, etc., so it's much easier for you to upgrade.
Also I hope that you would provide back some patches/improvements/extensions.
For development related questions it would be better to subscribe to email@example.com since it has more subscribers, etc.
Powered by FUDForum
. Page generated in 0.02701 seconds