I have installed SonarLint, SonarQube support for Visual Studio Code, and also Sonarqube.
Here is my global.json
{
"$schema": "https://raw.githubusercontent.com/silverbulleters/sonarqube-inject-vsc/master/schemas/global.json",
"servers": [
{
"id": "localhost",
"url": "http://localhost:9000/",
"token": "28636f8b1a718c765b827d32bcafb7df3e44930b"
}
]
}
And here is my local sonarlint.json
{
"$schema": "https://raw.githubusercontent.com/silverbulleters/sonarqube-inject-vsc/master/schemas/sonarlint.json",
"serverId": "localhost",
"projectKey": "springmvc"
}
Here is my env settings:
- sonarqube-7.8.
- java version “1.8.0_201”.
- VSCode version 1.41.1.
- JAVA_HOME and JRE_HOME are set.
Questions:
- How to have Java Rules enabled there?
- What kind tasks VSCode Sonarlint can do together with the SonarQube Server?
- After all of the installation and configuration I see that nothing is happened?
I also put question in here https://stackoverflow.com/questions/59623508/sonarlint-missing-java-rule-on-vscode
thanks