Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SonarLint missing Java Rule on VSCode #4

Open
yoesoff opened this issue Jan 7, 2020 · 0 comments
Open

SonarLint missing Java Rule on VSCode #4

yoesoff opened this issue Jan 7, 2020 · 0 comments

Comments

@yoesoff
Copy link

yoesoff commented Jan 7, 2020

SonarLint missing Java Rule on VSCode.

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"
        }
    ]
}

I have installed SonarLint, SonarQube support for Visual Studio Code, and also Sonarqube.

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.

My Question are:

  • How to have Java Rules enabled there?
  • What kind tasks VSCode can do together with the SonarQube Server?
  • After all of the installation and configuration I see that nothing is happened?

I also put a question in here https://stackoverflow.com/questions/59623508/sonarlint-missing-java-rule-on-vscode

Z0AtI

jDU4Y

YZxgq

DLMRh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant