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!
7
7
8
-
Like a spell checker, SonarLint highlights Bugs and Security Vulnerabilities as you write code, with clear remediation guidance so you can fix them before the code is even committed.
8
+
SonarLint™ is a free IDE extension that lets you fix coding issues before they exist!
9
9
10
-
SonarLint in Emacs supports analysis of JavaScript, TypeScript, Python, Java, HTML , PHP, Ruby, Scala and XML out of the box!
10
+
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.
11
+
12
+
In Emacs supports analysis of JavaScript, TypeScript, Python, Java, HTML , PHP, Ruby, Scala and XML out of the box!
11
13
12
14
:warning: This is not an official [SonarSource](https://www.sonarsource.com/) extension
13
15
@@ -19,7 +21,7 @@ SonarLint in Emacs supports analysis of JavaScript, TypeScript, Python, Java, HT
19
21
-[ht](https://github.com/Wilfred/ht.el)
20
22
-[dash](https://github.com/magnars/dash.el)
21
23
22
-
The SonarLint language server needs a Java Runtime (JRE) 8 or 11. If one is already installed on your computer, SonarLint should automatically find and use it.
24
+
The language server needs a Java Runtime (JRE) 8 or 11. If one is already installed on your computer, SonarLint should automatically find and use it.
23
25
24
26
To analyze JavaScript and TypeScript, SonarLint will also need Node.js.
25
27
@@ -30,10 +32,15 @@ To analyze JavaScript and TypeScript, SonarLint will also need Node.js.
30
32
Download and include the main file lsp-sonarlint.el and the folders languages and server.
31
33
32
34
### Melpa
33
-
WIP
35
+
You can then run the following commands to install lsp-sonarlint:
36
+
37
+
```
38
+
M-x package-refresh-contents RET (to refresh your package database)
39
+
M-x package-install RET lsp-sonarlint RET (to install and compile `lsp-sonarlint` and its dependencies)
40
+
```
34
41
35
42
## Usage
36
-
Sonarlint language server relies on java plugins to properly analyze the selected language source code.
43
+
The language server relies on java plugins to properly analyze the selected language source code.
37
44
The basic workflow to activate a plugin for a language is:
38
45
39
46
- Enable language specific extension, alongside lsp-sonarlint:
0 commit comments