SonarQube for IDE Connected Mode
SonarQube for IDE Connected Mode connects SonarQube for IDE to your SonarQube Server 10.6 project and provides benefits that neither product gives you alone.
SonarQube for IDE is your first line of defense in keeping your code clean. Connected Mode binds your SonarQube Server project to a local project so that SonarQube for IDE can catch issues immediately, right in the IDE, before you even commit them.
SonarQube for IDE is a free IDE extension that integrates with SonarQube Server using Connected Mode. Like a spell checker, SonarQube for IDE highlights issues as you type. When an issue is identified, SonarQube for IDE provides you with clear remediation guidance so you can fix it before the code is even committed. In many cases, it also provides a quick fix that can automatically fix the issue for you.
SonarQube for IDE integrates with most JetBrains IDEs including IntelliJ IDEA, CLion, GoLand, WebStorm, PHPStorm, PyCharm, Rider, Android Studio & RubyMine.
Installation instructions
Supported Rules and languages
Connected mode setup and list of Connected mode benefits.
SonarQube for IDE provides Visual Studio developers with a comprehensive in-IDE solution for improving the quality and security of the code they deliver.
Installation instructions
Supported Rules and languages
Connected mode setup and list of Connected mode benefits.
Download for Visual Studio 2026 and 2022
SonarQube for VS Code will automatically identify and fix quality and security issues as you code with enhanced linting capabilities directly in your VS Code IDE.
Installation instructions
Supported Rules and languages
Connected mode setup and list of Connected mode benefits.
SonarQube for Eclipse will automatically identify and fix quality and security issues as you code with enhanced linting capabilities right in your Eclipse IDE.
Installation instructions
Supported Rules and languages
Connected mode setup and list of Connected mode benefits.
Shared code quality and security expectations
When using SonarQube for IDE, the Sonar Quality Profile is used by default and users can customize their ruleset. If you’re using a different Quality profiles in SonarQube Server, new issues might be raised in SonarQube Server even though your commit looked clean in SonarQube for IDE. With Connected Mode, the same quality profile is applied in both your IDE and in SonarQube Server, and you’re notified in your IDE when your local instance is not meeting the project’s Quality gates standards.
More security
When using SonarQube for IDE alone, taint analysis issues found by commercial editions of SonarQube Server are not raised in SonarQube for IDE for performance reasons (we do not want to slow down your editing). In Connected Mode, you’ll see the taint analysis issues SonarQube Server raised in your project. You’ll get all of the context in your IDE that you need to triage and fix security problems thereby making sure the code you commit is safe.
Using the Open in IDE feature
When using Connected Mode with SonarQube for IntelliJ, Visual Studio, VS Code, or Eclipse, it’s possible to use the Open in IDE button to open most all issues in the code editor, speeding up the time it takes to find and fix the issue. Simply click the Open in IDE button from SonarQube Server to view it in your IDE; you’ll be prompted to set up Connected Mode if the project is not already bound.
Opening Security hotspots using the Open in IDE feature is available for all of the IDEs supported by SonarQube for IDE. See Opening issues in your IDE for more details.
SonarQube for IDE-SonarQube Server version support policy
SonarQube for IDE enables users to establish a connection to the latest SonarQube Server version and to the latest LTA (Long-Term Active) version. When a new LTA version is released, we still enable connecting SonarQube for IDE to the previous LTA version for a certain period of time (currently 12 months after the latest LTA release) to allow enough time for organizations to upgrade their SonarQube Server version.
For more information about long-term support of SonarQube Server, check out our page describing Patched versions and, to review IDE-specific requirements, please check the respective pages of the documentation as listed in the next paragraph.
Setting up Connected Mode
See the following links for instructions on setting up Connected Mode for each supported IDE:
Connected mode setup in SonarQube for IntelliJ
Connected mode setup in SonarQube for Visual Studio
Connected mode setup in SonarQube for VS Code
Connected mode setup in SonarQube for Eclipse
Understanding 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 SonarLint connection column indicates the last time the user used SonarQube for IDE in connected mode.
You can filter users based on their activity. The available options are:
All users
Active users with SonarLint: Users that used SonarQube for IDE in connected mode at least once in the past 30 days.
Active users without SonarLint: Users that connected to SonarQube Server at least once in the past 30 days.
Inactive users: Users that did not connect to SonarQube Server or use SonarQube for IDE in connected mode in the past 30 days.
Smart notifications
Connected Mode allows SonarQube Server to send smart alerts to individuals or teams when new issues are discovered. With everyone in the loop, issues can be addressed promptly, improving the overall software quality and delivery. You’ll receive smart notifications in your IDE when:
the Quality gates status of a project open in your IDE changes
a SonarQube Server analysis raises new issues that you’ve introduced in a project open in your IDE
You can activate or deactivate smart notifications in SonarQube for IDE on the IDE side on a server-by-server basis.
Reviewing issues in your IDE
Seeing an issue directly in the IDE can help you better understand its context. This is the purpose of the Open in IDE button that you’ll see as an authenticated user.
This feature is available if you’re using a compatible version and flavor of SonarQube for IDE. The project must be open in the appropriate IDE and bound to the server using connected mode. To set up SonarQube for IDE in Connected Mode, please check the SonarQube for IDE documentation for your IDE:
Connected mode in SonarQube for IntelliJ
Connected mode in SonarQube for Visual Studio
Connected mode in SonarQube for VS Code
Connected mode in SonarQube for Eclipse
Keep in mind that the revision or branch analyzed by SonarQube Server may not be the same as what you have opened in the IDE. In this case, SonarQube for IDE will do its best to locate the issue in your local code.
Troubleshooting unexpected analysis results
Last updated
Was this helpful?

