The extension auto-reads these values — you only need to add your token.
2. Configure the extension
Click the SonarLens icon in the Activity Bar → open Settings (⚙).
Authentication — choose one:
Paste Token — generate a user token in SonarQube → My Account → Security → Generate Token, then paste it here.
Login with SSO — click Open browser & Login. Your browser opens the SonarQube SSO page. After login, the token is auto-saved. If SonarQube shows the token instead of redirecting, copy it from the browser and paste into the fallback input.
OpenAI API Key(optional) — required only for AI fixes. Get one at platform.openai.com.
Click Save → the extension connects and you're ready.
Usage
View issues
Pull Requests tab → click Fetch PRs
Click Issues on any PR row
Fix an issue with AI
Click Fix with AI on any issue row
Review the diff → Accept, Accept & Commit, or Reject
Fix multiple issues
Tick checkboxes → Fix with AI (N) in the toolbar
Or click Fix Low to fix all INFO/MINOR issues at once
Mark resolved
Click ✓ on an issue row — marks it resolved in SonarQube (requires Administer Issues permission)
Click ✕ to dismiss locally (hides from view; restored via Status filter → DISMISSED)