www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Auto completion in DlangIDE

reply user <user tmp.com> writes:
For some reason auto completion in DLangIDE never worked for me. 
I need some suggestions.

How to trigger the auto completion?
Can I just type '.' after an object and will the auto-completion 
popup? This does not work for me.

Should I hit any shortcut key?
I tried ctrl+space, alt+space, shift+space, no effect.

I am using pre-compiled DlangIDE 0.8.5 on windows-7, using latest 
DMD.

Any help is appreciated.
Feb 26 2018
parent reply user <user tmp.com> writes:
I also tried Ctrl+Shift+G and Ctrl+Shift+Space, no effect.
Feb 26 2018
parent reply user <user tmp.com> writes:
OK, after trying few more things I figured that

Auto completion in DlangIDE, CoEdit, etc works only for
* stuff declared locally in the file or in the local project.
* stuff from phobos.

Auto completion DOES NOT work for third party libraries, like 
DWT, etc.
Could someone help me how to make auto-complete work for third 
party libs?

Thanks in advance
Feb 28 2018
parent Andrea Fontana <nospam example.com> writes:
On Wednesday, 28 February 2018 at 16:16:24 UTC, user wrote:
 OK, after trying few more things I figured that

 Auto completion in DlangIDE, CoEdit, etc works only for
 * stuff declared locally in the file or in the local project.
 * stuff from phobos.

 Auto completion DOES NOT work for third party libraries, like 
 DWT, etc.
 Could someone help me how to make auto-complete work for third 
 party libs?

 Thanks in advance
I think they use DCD for completion. dcd-server has a switch (and a command from client) to import library from path. Probably dcd config is missing those paths!
Mar 06 2018