FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to add Standard Libraries for Name Completion &c.

 
Post new topic   Reply to topic     Forum Index -> Descent
View previous topic :: View next topic  
Author Message
JoelCSalomon



Joined: 31 Jan 2007
Posts: 3

PostPosted: Fri Feb 06, 2009 8:27 am    Post subject: How to add Standard Libraries for Name Completion &c. Reply with quote

I assume the "correct" method is to add a User Library, name it Phobos, and point it to the phobos source directory (e.g., C:\Hacking\D\dmd\src\phobos). Is that right? I ask because I still have to add phobos to every project that uses it, rather than have this be automatic.

What about libraries installed with DSSS? I have it installed to C:\Hacking\D\dsss---can I add one directory to Descent and catch everything?
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Sat Feb 07, 2009 6:23 am    Post subject: Reply with quote

JoelCSalomon wrote:
I assume the "correct" method is to add a User Library, name it Phobos, and point it to the phobos source directory (e.g., C:\Hacking\D\dmd\src\phobos). Is that right? I ask because I still have to add phobos to every project that uses it, rather than have this be automatic.

Yes you have to add it to every project.

JoelCSalomon wrote:
What about libraries installed with DSSS? I have it installed to C:\Hacking\D\dsss---can I add one directory to Descent and catch everything?

Yes, add the C:\Hacking\D\dsss\include\d path in a new User Library and include that in every project where you need it.
Back to top
View user's profile Send private message
3-S-E



Joined: 16 Jun 2008
Posts: 54

PostPosted: Fri Apr 03, 2009 1:52 am    Post subject: Reply with quote

JoelCSalomon wrote:
What about libraries installed with DSSS? I have it installed to C:\Hacking\D\dsss---can I add one directory to Descent and catch everything?

Yes, add the C:\Hacking\D\dsss\include\d path in a new User Library and include that in every project where you need it.[/quote]

But to add "...\include\d" bloats the ProjectExplorer-View up when having a lot of libraries installed in DSSS. It's very unfortunate to browse a needed module by searching through all the other !unneeded! packages.

E.g.: Using the Monster-scripting language you have to import "monster.monster". DSSS is happy with this. Descent whereas complains not to find this module when having only "...\include\d\monster" included. because now "monster.di" is in a default.package and not in "monster"-package anymore.

Isn't there another possibility to including libraries? E.g. including a lib-path and telling descent witch folder has to be the topmost package!
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Fri Apr 03, 2009 2:56 am    Post subject: Reply with quote

I see no current solution for the project explorer view but if it helps you can limit the packages in the autocompletion list by either specifying in the preferences that only imported symbols should be in the auto autocompletion list or you can enter specific packages that should not be included.

You can also report a ticket enhancement for this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Descent All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group