Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was 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

@linghuiluo

Description

@linghuiluo

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions