SonarQube for VS Code in Cursor

SonarQube for VS Code helps bring analysis of AI-generated code to your IDE. This page has installation and migration instructions in addition to features designed specifically for Cursor.

Installation

The SonarQube for VS Code extension can easily be installed in Cursor from either the Open VSX registry or by using Cursor’s Profile Migration tool.

To install the SonarQube for VS Code extension in Cursor:

  1. Open the Extensions view by pressing Ctrl + Shift + X (or Cmd + Shift + X on Mac).

  2. Search for sonarqube.

  3. Finish the installation by selecting the Install button

Once installed, we recommended using connected mode and setting up the SonarQube MCP server with SonarQube Server or SonarQube Cloud to strengthen your AI integration with SonarQube. Note that although Cursor has migrated your extension, your SonarQube token is in secure storage and will not be migrated; you will be prompted to reauthenticate your connection.

Cursor subscribers on their Enterprise plan should add SonarQube for VS Code to the list of allowed extensions. Please see the Cursor documentation to Configure (your) allowed extensions.

Last updated

Was this helpful?