]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15462 Document SonarLint Connected Mode with SonarQube
authormichaelbirnstiehl <michael.birnstiehl@sonarsource.com>
Wed, 29 Sep 2021 20:42:08 +0000 (15:42 -0500)
committersonartech <sonartech@sonarsource.com>
Fri, 1 Oct 2021 20:03:19 +0000 (20:03 +0000)
server/sonar-docs/src/pages/user-guide/connected-mode.md [new file with mode: 0644]
server/sonar-docs/src/pages/user-guide/sonarlint-notifications.md [deleted file]
server/sonar-docs/static/SonarCloudNavigationTree.json
server/sonar-docs/static/SonarQubeNavigationTree.json
server/sonar-docs/static/StaticNavigationTree.json

diff --git a/server/sonar-docs/src/pages/user-guide/connected-mode.md b/server/sonar-docs/src/pages/user-guide/connected-mode.md
new file mode 100644 (file)
index 0000000..270e0e1
--- /dev/null
@@ -0,0 +1,27 @@
+---
+title: SonarLint Connected Mode
+url: /user-guide/connected-mode/
+---
+SonarLint 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 alone, the Sonar way Quality Profile is used by default. If you're using a different Quality Profile in SonarQube, new issues may 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 project isn't meeting [Quality Gate](/user-guide/quality-gates/) 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 and make sure the code you commit is safe.
+
+**Smart Notifications**  
+Connected mode sends 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 Gate](/user-guide/quality-gates/) 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.
+
+## Setting up Connected Mode
+See the following links for instructions on setting up Connected Mode for each supported IDE:
+
+* [Eclipse](https://github.com/SonarSource/sonarlint-eclipse/wiki/Connected-Mode)
+* [IntelliJ IDEA](https://www.sonarlint.org/intellij/#intellij-connected-mode)
+* [Visual Studio](https://github.com/SonarSource/sonarlint-visualstudio/wiki/Connected-Mode)
+* [VS Code](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode#connected-mode)
\ No newline at end of file
diff --git a/server/sonar-docs/src/pages/user-guide/sonarlint-notifications.md b/server/sonar-docs/src/pages/user-guide/sonarlint-notifications.md
deleted file mode 100644 (file)
index 537c33b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: SonarLint Smart Notifications
-url: /user-guide/sonarlint-notifications/
----
-
-Smart notifications allow developers using Connected Mode in SonarLint to receive in-IDE notifications from SonarQube when:
-
-* the Quality Gate status (failed / success) of a project /solution _open in the IDE_ changes
-* a {instance} analysis raises new issues _introduced by this developer in a project /solution open in the IDE_
-
-## Activate/deactivate Notifications
-The activation or deactivation of notifications must be done individually, by each developer directly in SonarLint (on the IDE side).
-
-Receiving notifications is configurable on the SonarLint side on a SonarQube server-by-server basis.
\ No newline at end of file
index 1068e470de7ea9b8a9e7a76e66c74e03c2e80ff7..3e254a6ddc31bd55a6647a0253ca856223237878 100644 (file)
@@ -63,7 +63,6 @@
       "/user-guide/concepts/",
       "/user-guide/activity-history/",
       "/user-guide/visualizations/",
-      "/user-guide/sonarlint-notifications/",
       "/user-guide/security-reports/",
       "/user-guide/user-account/",
       "/user-guide/user-token/",
index f84c38be252f89c0d9001155e7b2d23a23266264..d3aa87957fcedd619f070a456f9bd657a0513e83 100644 (file)
     "children": [
       "/user-guide/concepts/",
       "/user-guide/clean-as-you-code/",
+      "/user-guide/connected-mode/",
       "/user-guide/metric-definitions/",
       "/user-guide/quality-gates/",
       {
       "/user-guide/activity-history/",
       "/user-guide/project-page/",
       "/user-guide/visualizations/",
-      "/user-guide/sonarlint-notifications/",
       "/user-guide/keyboard-shortcuts/"
     ]
   },
index 846694b0d68e586e16002af7db931cf2372de2ad..12ce1e530104b542b00245095a93487adb8198e7 100644 (file)
     "children": [
       "/user-guide/concepts/",
       "/user-guide/clean-as-you-code/",
+      "/user-guide/connected-mode/",
       "/user-guide/metric-definitions/",
       "/user-guide/quality-gates/",
       {
       "/user-guide/activity-history/",
       "/user-guide/project-page/",
       "/user-guide/visualizations/",
-      "/user-guide/sonarlint-notifications/",
       "/user-guide/keyboard-shortcuts/"
     ]
   },