ENHANCED CODE REVIEW WITH CONNECTED MODE

Seamless IDE to CI integration

Connected mode joins SonarQube for IDE to SonarQube Cloud and Server for enhanced code analysis and code review. Shared code quality expectations, deeper analysis, smart notifications, AI generated code fixes, and more.

Link to SonarQube Cloud or Server and unlock more value

Explore the benefits of connected mode

team red-small

Sharing of team decisions

In connected mode to SonarQube Cloud or SonarQube Server, the binding of your project enables the sharing of the quality profile, project settings, sync of rule description customizations, and issue status (Accept/False Positive) to the IDE.

Unlock additional languages

Using connected mode, SonarQube for IDE can analyze additional languages. See the documentation for your preferred IDE extension to discover which languages are supported out-of-the-box, and which require connected mode.

Watch how to set up connected mode for your preferred IDE

SonarQube for IDE: Visual Studio Code - how to install and set up connected mode

Access SonarQube for IDE: Visual Studio Code documentation -->

Frequently asked questions, answered.

What is connected mode?

SonarQube for IDE can connect to either SonarQube Server or SonarQube Cloud to enable communication of code issue reporting and other team decisions between team members. This connection is known as connected mode, and it can be easily set up from within your preferred IDE.

While in connected mode, SonarQube for IDE receives notifications from SonarQube Server/Cloud about your Quality Gate changes and new issues. Smart notifications can be enabled and team decisions can be shared. It also helps developers ensure their new code is free of code and security issues by offering the option to restrict the focus of detection to issues in new code according to the definition configured in SonarQube Server/Cloud.


Connected mode also unlocks access to various coding languages (the list of languages varies by IDE).

In connected mode advanced issues detected in the branch analysis are reported in the IDE, such as taint vulnerabilities and data flow bugs.

Connected mode also allows fast context switching when an issue is discovered by SonarQube Server/Cloud - taking you directly to the location(s) in your code, in your IDE, for pinpoint issue resolution.


Can I leverage AI to generate a fix for my code issue?

Yes. When using connected mode you can generate a fix suggestion for eligible issues. When you select Generate Fix, an AI CodeFix snippet is generated, displaying a diff view of the fix suggestion. Selecting Apply accepts the suggestion to resolve your code issue.

How much does connected mode cost?

SonarQube for IDE is a free, open-source plugin for VS Code | IntelliJ | Eclipse | Visual Studio | Cursor | Windsurf | Trae and others, and is available from their respective marketplaces.


Connected mode is free to set up to either SonarQube Server or SonarQube Cloud.


How can I see which additional features are available for my IDE when connected to SonarQube Cloud or SonarQube Server?

Depending upon your preferred IDE, and if you use SonarQube Cloud or SonarQube Server, the team benefits available with connected mode may vary. The SonarQube for IDE documentation lays out all the permutations.

Is there more detailed help to set up connected mode for my specific IDE?

More detailed instructions and step-by-step guidance is available for your specific IDE in the SonarQube for IDE documentation:

VS Code

IntelliJ

Visual Studio

Eclipse

Can SonarQube Server admin view SonarQube for IDE usage?

SonarQube Server administrators can get an overview of SonarQube for IDE usage among users by going to Administration > Security > Users. 

The Last SonarQube for IDE connection column indicates the last time the user used SonarQube for IDE in connected mode.

You can filter users based on their activity. More details are available here.

airplane

Get SonarQube for IDE updates delivered directly to your inbox

By signing up, you will receive product and marketing information about upcoming SonarQube for IDE updates, new releases, news, and events.

Unsubscribe

Sonarqube IDE connected mode