From 341877deff2ea1d1e87e30be0f592dbf95996920 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Tue, 24 Nov 2020 18:04:12 +0100 Subject: [PATCH] DOCS SONAR-14170 Document security hotspot "Open in IDE" feature --- .../src/pages/user-guide/security-hotspots.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/server/sonar-docs/src/pages/user-guide/security-hotspots.md b/server/sonar-docs/src/pages/user-guide/security-hotspots.md index a65be529438..f312d43236b 100644 --- a/server/sonar-docs/src/pages/user-guide/security-hotspots.md +++ b/server/sonar-docs/src/pages/user-guide/security-hotspots.md @@ -59,4 +59,16 @@ After following these steps, set the Security Hotspot to one of the following: ### Review History -The **Review history** tab shows the history of the Security Hotspot including the status it's been assigned and any comments the reviewer had regarding the Hotspot. +The **Review history** tab shows the history of the Security Hotspot including the status it's been assigned and any comments the reviewer had regarding the Hotspot. + +### Reviewing Hotspots in your IDE + +Seeing a Security Hotspot directly in the IDE can help you better understand its context and decide whether it is safe or not. This is the purpose of the **Open in IDE** button that you'll see as an authenticated user. + +This feature is available to users of: +* [SonarLint for Visual Studio](https://www.sonarlint.org/visualstudio) 4.29 and above +* [SonarLint for IntelliJ](https://www.sonarlint.org/intellij) 4.13 and above + +The project needs to be open in the appropriate IDE and bound to the server through SonarLint's connected mode. + +Keep in mind that the revision or branch analyzed by SonarQube may not be the same as what you have opened in the IDE. In this case, SonarLint will do its best to locate the Security Hotspot in your local code. -- 2.39.5