IntelliJ IDEA -> Settings -> Other settings -> SonarLint General Settings
SonarQube servers: Localhost (http://localhost:9000; login: admin; password: admin; test connection - "Authentification successful") Update binding: few seconds ago
IntelliJ IDEA -> Settings -> Other settings -> SonarLint Project Settings
Bind to server: Localhost SonarQube project: Update server binding first
But it's already bound! What may be wrong? Web interface also can't see the project.
When I press Analize code with SonarLint
in workspace, I get an error popup: "Project bound to invalid SonarQube server. Please, check configuration"
In Intellij — Go to File >> Plugins >> Type 'SonarLint' >> Install and Restart IDE. (2) we can choose the SonarQube rules. → To integrate SonarQube(server) and SonarLint in our IDE and run SonarQube code inspection rules per class to give results quickly. Add the sonarQube connection binding.
Open the “SonarLint Bindings” view in Eclipse, right click on your connection, and click “Update all projects bindings”. I know the root cause. It is because these rules are default not activated. I shoud copy the built-in profile and activate them, then Update All Project Bindings from SonarLint.
You can use Save action on your whole project: Right-click on your Java project source -> Source -> Format... Right-click on your Java project source -> Source -> Clean Up... Use the AutoRefactor plugin: Right-click on your code -> AutoRefactor -> Automatic refactoring.
IntelliJ IDEA -> Settings -> Other settings -> SonarLint Project Settings Bind to server: Press refresh binding. That's it.
Go to http://localhost:9000
Then go to administration
Then go to projects management
Then press create project, enter project name exactly like in your IDE.
Then go to
IntelliJ IDEA -> Settings -> Other settings -> SonarLint Project Settings Bind to server:
Press refresh binding.
That's it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With