IntelliJ Plugin cannot get completion/DCD to work
dsobiera at yahoo.com
Mon Aug 20 22:33:06 UTC 2018
I'm a 2 day noob to Mars D. So far I'm really liking it. I've
been using VisualD for work so far. And that works great.
However, there are times I am working on an Ubuntu machine and
would like to have an IDE to use there.
Intellij's "browse plugin" feature. All worked well.
I'm trying to get intellisense / completion to work. I set up
DCD as found:
I built via:
dub build --build=release --config=client --arch=x86_64
dub build --build=release --config=server --arch=x86_64
I created a ~/.config/dcd/dcd.conf that has:
From the command prompt I type dcd-server
2018-08-20T18:22:39.824:main.d:main:117 Starting up...
Loading configuration from /home/XXX/.config/dcd/dcd.conf
2018-08-20T18:22:39.824:main.d:main:151 Listening at
2018-08-20T18:22:40.306:first.d:visit:497 Could not resolve
location of module 'core/sys/netbsd/sys/mman'
2018-08-20T18:22:40.574:first.d:visit:418 Could not resolve
location of module 'ldc/intrinsics'
2018-08-20T18:22:40.949:main.d:main:168 Import directories:
2018-08-20T18:22:40.949:main.d:main:174 114251 symbols cached.
2018-08-20T18:22:40.949:main.d:main:175 Startup completed in 1125
all seems good.
I ^C (quit) that and put the correct path in Intellij's DCD
setting area for the dcd client and server.
But it never seems to work. Whenever I tap control and space on
a partial thing it says "D language: no completion found".
I am running:
DMD64 D Compiler v2.081.2
IntelliJ 2018.2.1 Community Edition
D Language Intellij Plugin 1.17.1
Any ideas where to start troubleshooting this? It's so fun to
work on Windows with VisualD and I'd really like to work on
Ubuntu as well. I use Intellij for Java work so it'd be great if
I could get this to work on Ubuntu.
More information about the Digitalmars-d-ide