You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SonarLint™ is a free IDE extension that lets you fix coding issues before they exist!
10
8
11
9
Like a spell checker,it highlights Bugs and Security Vulnerabilities as you write code, with clear remediation guidance so you can fix them before the code is even committed.
@@ -64,7 +62,7 @@ the URL defined in **lsp-sonarlint-LANGUAGENAME-download-url**.
64
62
65
63
66
64
#### Complete config example
67
-
In this example, we have a multiple language project, with javascript,HTML and PHP:
65
+
In this example, we have a multiple language project, with Javascript Typescript, HTML and PHP:
68
66
69
67
```lisp
70
68
(require 'lsp-sonarlint)
@@ -75,12 +73,14 @@ In this example, we have a multiple language project, with javascript,HTML and P
75
73
(require 'lsp-sonarlint-html)
76
74
(setq lsp-sonarlint-html-enabled t)
77
75
78
-
79
76
(require 'lsp-sonarlint-javascript)
80
77
(setq lsp-sonarlint-javascript-enabled t)
81
78
79
+
(require 'lsp-sonarlint-typescript)
80
+
(setq lsp-sonarlint-typescript-enabled t)
82
81
```
83
-
Now we can active the lsp extension.
82
+
83
+
Now we can activate the lsp extension.
84
84
85
85
The extension will check every plugin path and ask if it is not find to download it,
86
86
the default path is defined in **lsp-sonarlint-LANGUAGENAME-analyzer-path**.
@@ -118,8 +118,6 @@ This settigns are common for all the language plugins.
118
118
*`lsp-sonarlint-LANGUAGE-doc-url` - Sonarsource official plugin documentation
0 commit comments