Code completion with DCD in VS Code

Tariq Siddiqui m.tariqsiddiqui at gmail.com
Wed Jan 10 16:10:12 UTC 2018


On Tuesday, 9 January 2018 at 21:29:30 UTC, Timo Gransch wrote:
> Hello,
>
> can anybody please help me get code completion in either VS 
> Code (CodeD) or IntelliJ IDEA (IntelliJ D Language 1.15.4) to 
> work under Ubuntu x86-64?
>
> For IntelliJ, I installed DCD 0.9.1-Q from d-apt, configured 
> the installation path under "D Tools" in the IntelliJ 
> configuration (path is detected automatically) and added a 
> configuration file dcd.conf under ~/.config/dcd, which looks 
> like this:
>
> /usr/include/dmd/druntime/import/
> /usr/include/dmd/phobos/
>
> Unforunately when I press the dot after an object name in the 
> editor, I get a random list of suggestions instead of the 
> correct method names, please see
>
> https://picload.org/view/ddldidri/dcd.png.html
>
> VS Code installs it's own version of DCD. The suggestions are 
> simply a list of all keywords in the current file, please see
>
> https://picload.org/view/ddldioga/dcd2.png.html
>
> Can anybody please tell me how to fix this?
>
> Best regards and thanks in advance,
> Timo

 From your second snapshot, try with "import std.datetime" instead 
of "std.datetime.systime"


More information about the Digitalmars-d-ide mailing list