IntelliJ Plugin cannot get completion/DCD to work
Damian Sobieralski
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.
I installed
https://github.com/intellij-dlanguage/intellij-dlanguage via
Intellij's "browse plugin" feature. All worked well.
I'm trying to get intellisense / completion to work. I set up
DCD as found:
https://github.com/dlang-community/DCD
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:
/usr/include/dmd/druntime/import
/usr/include/dmd/phobos
in it
From the command prompt I type dcd-server
2018-08-20T18:22:39.824:main.d:main:117 Starting up...
2018-08-20T18:22:39.824:server.d:loadConfiguredImportDirs:94
Loading configuration from /home/XXX/.config/dcd/dcd.conf
2018-08-20T18:22:39.824:main.d:main:151 Listening at
/run/user/1001/dcd.socket
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:
/usr/include/dmd/druntime/import
/usr/include/dmd/phobos
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
milliseconds.
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.
Thanks!
- Damian
More information about the Digitalmars-d-ide
mailing list