How do I suppress the "Welcome" Explorer window?

  • 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.

Hi there!

This is not the default behaviour registered by SonarLint. What might have happened is that you accidentally moved the SonarLint Issue Locations view to a different location, as described in the GIF below. You can again take the view and drag it to the correct location under the “true” explorer view.

sonarlint issue locations

Hope that helps!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.