Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
195 stars 48 forks source link

Unable to use serve-d with dmd #332

Open snprajwal opened 11 months ago

snprajwal commented 11 months ago

I am using serve-d (nightly) with coc-dlang, and upon opening any .d file in dmd, the following error is raised:

Could not initialize dub for /home/prajwalsn/dev/dlang/dmd. Falling back to limited functionality!
Dub package failed to load or no configurations are available, cannot list import paths needed for build and auto-complete

Any idea what could be going wrong?

FelipeLema commented 8 months ago

probably missing dmd (or ldmd or the gcc variant) to compile and analyze source files