View previous topic :: View next topic |
Author |
Message |
arthurprs
Joined: 14 Oct 2007 Posts: 4
|
Posted: Sun Oct 14, 2007 8:33 pm Post subject: Code completion does not work |
|
|
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 |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Mon Oct 15, 2007 11:54 am Post subject: Re: Code completion does not work |
|
|
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. |
|
Back to top |
|
|
arthurprs
Joined: 14 Oct 2007 Posts: 4
|
Posted: Tue Oct 16, 2007 12:23 pm Post subject: |
|
|
Yeah it worked, but only with project function, im begginer in D, so its usefull to get codecompletion on imported libs to
its possible? |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Tue Oct 16, 2007 11:11 pm Post subject: |
|
|
arthurprs wrote: | Yeah it worked, but only with project function, im begginer in D, so its usefull to get codecompletion on imported libs to
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.
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 |
|
|
arthurprs
Joined: 14 Oct 2007 Posts: 4
|
Posted: Wed Oct 17, 2007 8:00 pm Post subject: |
|
|
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 |
|
|
arthurprs
Joined: 14 Oct 2007 Posts: 4
|
Posted: Sat Oct 20, 2007 12:12 pm Post subject: |
|
|
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
my fault.. |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Mon Oct 22, 2007 10:05 am Post subject: |
|
|
arthurprs wrote: | Sorry i don't noticed that the std can't be parsed
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 |
|
|
|