- Operating system: macOS 14.4.1
- SonarLint plugin version: 4.4.2
- Programming language you’re coding in: N/A
- Is connected mode used: Yes
- Connected to SonarCloud or SonarQube (and which version): SonarQube
On every launch of VSCode, the explorer window is initially taken over by SonarLint with the title “Explorer: SonarLint Issue Locations” and content “No locations to show.” This happens even when opening a repo of text files or SVGs.
The specific string for the content seems to come from sonarlint-vscode/package.json at 8345b8f38d09a7c7240abce56f16cfb3be2d077c · SonarSource/sonarlint-vscode · GitHub which is maybe pulled here sonarlint-vscode/src/extension.ts at 8345b8f38d09a7c7240abce56f16cfb3be2d077c · SonarSource/sonarlint-vscode · GitHub to do something with (not a JS dev, unfamiliar with the VSCode plugin system, so don’t know how to trace).
I removed all sonarlint.
settings from my settings.json
, and it still appears on launch. It feels like a strange phantom, because there are two explorer file icons (two pages of paper overlapping) in the sidebar, and when I click the highlighted one it collapses the “Explorer: SonarLint…” side-view and removes the duplicate icon. Clicking the icon again, or probably the real Explorer icon that’s now moved up, re-opens the file explorer.