Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Issue combination intellij-lsp <-> dls <-> D Language Intellij Plugin #54

Closed
andre2007 opened this issue Feb 12, 2019 · 3 comments
Closed

Comments

@andre2007
Copy link

I use IntelliJ 2018.3.4 (PyCharme Professional but issue is also reproducible with Communtiy Editon).

I installed the language server for the D Programming Language
https://github.com/d-language-server/dls/releases

It works fine as long as I do not install the specific IntelliJ plugin for the D Programming Language.
https://plugins.jetbrains.com/plugin/8115-d-language

If I install this plugin I have following behavior:

  • Language server icon stays red and says: Could not initialize within 10 seconds
  • Uninstalling "IntelliJ plugin for the D Programming Language"
  • Still same error
  • Removing folder ./idea from file system and resetting "Language Server definitions"
  • Language server starts to work again

Issue is reproducible. I am not sure where to open this issue, on this repository, dls or the dlang intellij plugin repository.

@LaurentTreguier
Copy link

Have you tried with serve-d ?
With DLS, the initialization can be long because that's when DCD imports are made.

@andre2007
Copy link
Author

The mentioned issue only occurs when adding the specific "IntelliJ plugin for the D Programming Language". Without installing this plugin every thing works fine. Therefore I think it is not related to DCD imports. But I will also give serve-d a try.

@andre2007
Copy link
Author

It was really a timing issue. By setting the initialization timeout to 40 seconds the 3 plugins works now really fine together.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants