-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest plugin (0.1.1.17) is not consistent in marking vulnerability #35
Comments
The LSP client[1] which we use implements diagnostics[2] on top of IJ's Due to the async nature, Whenever a diagnostic arrives from the Language Server, Language Client invokes[5] The immediate workaround would be changing your IJ Actual solution would be to increasing the debounce value of our LSP server parsing to higher value[8]. e.g. 2000. [1] https://github.com/ballerina-platform/lsp4intellij |
I understand that the LSP annotator may be called twice but what causes the diagnostics to be cleared ? Don't we have a race condition between the 2 executions ? |
Here is a flow,
@jeffmaury This is what I understood from lsp4intellij. |
This is still relevant with current versions. |
I wonder if this would be the same if we switch to use proper custom language plugins instead of the lsp wrapper. |
I bumped into this issue... But from a couple of tests I made, it look like this was fixed here with #107 . |
Problem
While editing the file, vulnerability marking disappears!
IJ-0.1.1-17-bug.mov
The text was updated successfully, but these errors were encountered: