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

Code completion does not work

 
Post new topic   Reply to topic     Forum Index -> Poseidon
View previous topic :: View next topic  
Author Message
arthurprs



Joined: 14 Oct 2007
Posts: 4

PostPosted: Sun Oct 14, 2007 8:33 pm    Post subject: Code completion does not work Reply with quote

I have the last version + the last bin.

How can i get code completion working ?

it have an hotkey of something that i need press or set ?
Back to top
View user's profile Send private message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Mon Oct 15, 2007 11:54 am    Post subject: Re: Code completion does not work Reply with quote

1. Make sure that Tools -> Options -> parser -> Use Codecompletion is checked.

2. Load or create a new project.

3. When you edit your code, you can update the paser by "save".

4. If the parser is updated ok ( please watch the output window ), the code completion should be working. Very Happy
Back to top
View user's profile Send private message Send e-mail
arthurprs



Joined: 14 Oct 2007
Posts: 4

PostPosted: Tue Oct 16, 2007 12:23 pm    Post subject: Reply with quote

Yeah it worked, but only with project function, im begginer in D, so its usefull to get codecompletion on imported libs to Sad
its possible?
Back to top
View user's profile Send private message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Tue Oct 16, 2007 11:11 pm    Post subject: Reply with quote

arthurprs wrote:
Yeah it worked, but only with project function, im begginer in D, so its usefull to get codecompletion on imported libs to Sad
its possible?


Make sure that Tools -> Options -> parser -> Use Parse All Imported Modules In Project is checked.

If this option is checked, the parser will list modules( files ) that not in project and try to search & parse them when project loaded.

But if we add new import module in our code and save( update the parser ), the new module won't load and parse( else reload the project ), it should be modify easily, I'll do it. Very Happy

The search path is depend on "Includes" in project property, the path in DMD's sc.ini isn't search, I will modify it.
Back to top
View user's profile Send private message Send e-mail
arthurprs



Joined: 14 Oct 2007
Posts: 4

PostPosted: Wed Oct 17, 2007 8:00 pm    Post subject: Reply with quote

i included the folder "C:\dmd\src\dmd" on project->property->include and libs->directory


saved all and reloaded the project, keep don't working for imports =/

any idea?
Back to top
View user's profile Send private message
arthurprs



Joined: 14 Oct 2007
Posts: 4

PostPosted: Sat Oct 20, 2007 12:12 pm    Post subject: Reply with quote

arthurprs wrote:
i included the folder "C:\dmd\src\dmd" on project->property->include and libs->directory


saved all and reloaded the project, keep don't working for imports =/

any idea?


Sorry i don't noticed that the std can't be parsed Sad

my fault..
Back to top
View user's profile Send private message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Mon Oct 22, 2007 10:05 am    Post subject: Reply with quote

arthurprs wrote:
Sorry i don't noticed that the std can't be parsed Sad

my fault..


Please try rev.198, when the Use Parse All Imported Modules In Project is checked, now the std.( phobos ) should be loaded and parsed.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Poseidon 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