Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
208 stars 50 forks source link

DCD is not downloaded #375

Closed philippludwig closed 4 months ago

philippludwig commented 4 months ago

I am trying to use serve-d with Emacs and eglot. When I run eglot from Emacs, I get:

[eglot] Server reports (type=1):  DCD is outdated. (target=0.13.6, installed=none)
Choose an option:  Download DCD

I press Return, then nothing happens.

So how do I download DCD? I could not find anything in the Troubleshooting guide, except that it is supposed to happen automatically.

WebFreak001 commented 4 months ago

you can install DCD system wide from https://github.com/dlang-community/DCD, then serve-d should use that

You might need to enter "Download DCD" for it to trigger that action, I don't actually know how eglot handles notifications with buttons (which is what this message is)

philippludwig commented 4 months ago

Works perfectly. I just downloaded the binaries and put it next to the serve-d binary. The message for Downloading DCD does not appear anymore.