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

IntelliJ doesn't show all diagnositics and codeAction doesn't work #91

Open
linghuiluo opened this issue Apr 30, 2019 · 0 comments
Open

Comments

@linghuiluo
Copy link

linghuiluo commented Apr 30, 2019

As shown in this screenshot, the diagnostics in class CryptoUtils are not listed in the LSP Inspection Results. Actually there should be 9 errors, but IntelliJ just shows 4 and the diagnostic messages are all followed with "No longer valid".

The results are totally non-deterministic, sometimes InteilliJ doesn't show LSP inspection results at all and sometimes it shows all expected results when I rerun "Inspect code".
How does the LSP-plugin deal with diagonsitics in IntelliJ?

The language server i wrote will perform analysis whenever a file is performed didOpen or didSave. It works perfectly in eclipse and vscode.

I also built quick fix in my language server via code action, it is shown with lightbulb icon, however, when I click the quick fix button, nothing happens....(see screenshot below)

Can anyone help me by this issue? I would really like to have my server work in IntelliJ.

Thank you very much!

Screenshots

LSP inspection results

lspdiags

quick fix

quickfix

Configuration:

  • LSP Support v1.5.4
  • Tested both in Windows and Mac OS
  • IntelliJIDEA 2019.1(Community Edition)
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

1 participant