On Feb 3, 2006, at 5:39 PM, Werner Schuster (murphee) wrote:

Christopher Williams wrote:

On Feb 3, 2006, at 9:57 AM, Werner Schuster (murphee) wrote:

For instance: is it possible to set the Ruby stdlib for the projects Ruby Intepreter?
Is that available and I'm just not seeing it?

Nope. We haven't implemented this. This is a pretty big under the hood feature we need. Loadpaths are integral to doing more intelligent code completion, and it'd be nice to allow users to set custom loadpaths on a project.


Thanks for the info.
When you say "pretty big", do you mean it's very important or a lot of work? I can't really see that it's too much effort, although
I haven't looked at it too closely.

I mean pretty big because I think it'd involve a lot of work to do it right. The place that loadpaths are mainly stored is in the RubyProject class. I basically took JDT's JavaProject and mangled it to do what I needed for RDT, but the classpath/loadpath stuff is horribly broken.


What would be needed:
 - page in the project properties where you can set the directories
- hookup the project references (I'm not sure if that's not already there somehow) - would this have to be used by the RDT Project model? I'm referring to the IElement objects I suppose parsing the non-workspace libs and keeping some index version of that around
   could work...

- We'd need to be able to edit loadpaths on launches of the interpreter (there's a spot for this on the launch pages but it's not editable). And make sure the launch actually includes those loadpaths on the command line. - Page in the project preferences where the project wide loadpaths can be set up - Set up the default loadpaths for the Ruby core library/stdlib in all projects when a user picks an interpreter. We should be using this to set up an initial model in memory for code completion, selecting classes in dialogs, etc. - Figure out if/how we'd handle projects that depend on another project that has custom loadpaths (do we implictly export the custom loadpaths, or must they be marked as exported on the second project?)
- Respect loadpaths when we do code completion

Thanks,
Chris




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to