VSC SonarLint plugin steals focus constantly

SonarLint only shows this popup when it catches a certain exception from the underlying analyzer. So I would strongly advise that you:

  • set sonarlint.output.showAnalyzerLogs and sonarlint.output.showVerboseLogs to true in your user settings
  • reload the window / restart VSCode
  • open a TS file, wait for the popup to appear
  • go to the SonarLint Output (on Windows: Ctrl+Shift+P, “SonarLint: Show SonarLint Output”)
  • copy the contents of the output pane and paste it here enclosed within a ``` block

Interestingly enough, I remember another old thread where a similar symptom was reported (with some issues reported despite the annoying error popup).