SonarQube Community edition 8.5 (build 37579)
SonarLint v3.1.0
Latest visual studio code version
Open a file that has an issue in it (or create an issue in an existing file).
Expected behavior:
SonarLint unobtrusively scans the file and reports the error and user can continue what they were doing
Actual behavior:
A window pops up with every save JS/TS analysis failed. Please check the SonarLint Output for more details. The source of the message is the SonarLint extension.
Window then opens and forces the SonarLint output open and sets focus on the output window.
I love the SonarLint extension, however in it’s current state it is almost unusable as I am unable to work using my standard workflow. I have even tried closing the output windows and it re-opens them and sets the focus on the output window.
Hello, welcome to the community! And thanks for reporting this issue.
Did you try to have a look at what’s actually logged by the SonarLint output and fix the root cause for the issue?
In its normal behavior, SonarLint is definitely not supposed to interrupt your workflow like this. So if it does, I bet there is something that needs to be fixed in your setup. Please feel free to post here any relevant extract of the SonarLint output so we can help with the troubleshooting.
I am not getting any errors with the SonarLint config or anything (already fixed those). It is finding legit issues with the typescript code like it should… It just keeps popping up and stealing focus when it shouldn’t.