PROJECT

Sonar Prompt Fixer

VS Code extension for Sonar review and remediation prompt generation.

Connect to SonarQube Cloud or self-hosted SonarQube Server and turn findings into remediation prompts inside VS Code. This extension helps developers review Sonar findings and generate focused remediation prompts without leaving the editor.

Sonar Prompt Fixer cover image

Technical details

Stack

  • TypeScript and VS Code extension APIs
  • Webview-based findings and configuration surfaces
  • SonarQube Cloud and SonarQube Server backend adapters
  • Vitest-based test coverage for prompt, state, and Sonar integration helpers

Architecture hints

  • Sidebar summary and workspace editor separate lightweight review from detailed remediation work
  • Connection handling, Sonar adapters, prompt rendering, and local state are kept as distinct subsystems
  • Project discovery and token storage are isolated from UI concerns so server profiles remain reusable
  • Prompt generation uses one canonical model with target-specific renderers for multiple coding agents