# SonarLint Connected Mode

SonarLint’s Connected Mode connects SonarLint to your SonarQube project and provides additional benefits you won’t get by using SonarLint or SonarQube alone.

**Shared code quality and security expectations**\
When using SonarLint, the Sonar way Quality Profile is used by default and users can customize their ruleset. If you’re using a different quality profile in SonarQube, new issues might be raised in SonarQube even though your commit looked clean in SonarLint. With Connected Mode, the same customized rule set is applied in both your IDE and in SonarQube, and you’re notified in your IDE when your local instance isn’t meeting the project’s [Quality gates](/sonarqube-server/9.9/user-guide/quality-gates.md) standards.

**More security**\
When using SonarLint alone, taint analysis issues found by commercial editions of SonarQube aren’t raised in SonarLint for performance reasons (we don’t want to slow down your editing). In Connected Mode, you’ll see the taint analysis issues SonarQube 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.

## SonarLint-SonarQube version support policy <a href="#version-support-policy" id="version-support-policy"></a>

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 9 months after the latest LTA release) to allow enough time for organizations to update their SonarQube Server version.

{% hint style="warning" %}
*The 8.9LTA reached its support expiration date (in November ’23)*.
{% endhint %}

For more information about long-term support of SonarQube, check out our page describing what an [Active version](/sonarqube-server/9.9/setup-and-upgrade/upgrade-the-server/active-versions.md) is and, to review IDE-specific requirements, please check the respective pages of the documentation as listed in the next paragraph.

## Setting up Connected Mode <a href="#setting-up-connected-mode" id="setting-up-connected-mode"></a>

See the following links for instructions on setting up Connected Mode for each supported IDE:

* [Connected mode](https://docs.sonarsource.com/sonarqube-for-intellij/connect-your-ide/connected-mode)
* [Connected mode](https://docs.sonarsource.com/sonarqube-for-visual-studio/connect-your-ide/connected-mode)
* [Connected mode](https://docs.sonarsource.com/sonarqube-for-vs-code/connect-your-ide/connected-mode)
* [Connected mode](https://docs.sonarsource.com/sonarqube-for-eclipse/connect-your-ide/connected-mode)

## Smart notifications <a href="#smart-notifications" id="smart-notifications"></a>

Connected Mode allows SonarQube 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](/sonarqube-server/9.9/user-guide/quality-gates.md) status of a project *open in your IDE* changes
* a SonarQube analysis raises new issues *that you’ve introduced in a project open in your IDE*

You can activate or deactivate smart notifications in SonarLint on the IDE side on a server-by-server basis.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/9.9/user-guide/sonarlint-connected-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
