d-language-server / dls

A Language Server implementation for D
http://dls.dub.pm
106 stars 14 forks source link

Intellij Idea Plugin #26

Open artembatura opened 5 years ago

artembatura commented 5 years ago

What about of creating Plugin for Intellij Idea? I like how DLS works with VS Code (better plugin among all, which I used) and this great, if Intellij Idea Plugin will be exist too

LaurentTreguier commented 5 years ago

I have looked at https://github.com/gtache/intellij-lsp to make a Intellij plugin, I don't remember why I didn't make a plugin. I'll look into it

andre2007 commented 5 years ago

Using DLS in combination with the specific IntelliJ D Language plugin causes an issue at the moment. See here https://github.com/gtache/intellij-lsp/issues/54

andre2007 commented 5 years ago

Just as information. LSP works now very well together with DLS. I had to set the initialization timeout to e.g. 60 seconds. Also I installed LSP version v1.5.2 manually via the file import. This version fixes an exception and is not so far available via the IntelliJ marketplace.

LaurentTreguier commented 5 years ago

When I can safely bump the dependencies again, DLS should be faster to start: dsymbol v0.6.0 will scan import directories lazily (thanks to https://github.com/dlang-community/dsymbol/pull/114), so maybe the initialization timeout won't need to be bumped anymore in the future.