dlangide icon indicating copy to clipboard operation
dlangide copied to clipboard

Auto completion issue

Open nicesai opened this issue 8 years ago • 2 comments

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.

I also tried Ctrl+Shift+G and Ctrl+Shift+Space, no effect.

Any help is appreciated.

nicesai avatar Feb 27 '18 17:02 nicesai

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

nicesai avatar Feb 28 '18 16:02 nicesai

DlangIDE uses https://github.com/dlang-community/DCD for code completion. I think CoEdit use it too. On linux when I type . (dot) after object name pop up menu appears. Ctrl+Space works form me, but not for all things.

and3md avatar Mar 01 '18 18:03 and3md