Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to configure SonarLint plugin on Idea IntelliJ

I'm trying to configure the SonarLint plugin (Version - 3.2.0.2350) on Idea Intellij (Ultimate Edition. Version: 2017.3.4, Build: 173.4548.28) but I get an error when trying to Update binding - **Analyzers not loaded**. The following plugins do not meet the required minimum versions, please upgrade them. typescript (installed1.1.0, minimum 1.5).

Although I am still able to go ahead and Update the Project list, find my project and save the settings, whenever I try to Analyze any file, it says Cannot create ClassLoader. I do not have any separate Typescript plugin installed apart from the Javascript Support plugin. And the updated to the latest version 1.0.

Can anyone help with this ?

enter image description here

like image 275
Arpit Avatar asked Jan 31 '18 16:01

Arpit


People also ask

How do I enable SonarLint in IntelliJ?

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.

How do you set up SonarLint?

* You can find your project key in your project information. From the settings, search SonarLint. Select “edit settings. json” in Connected Mode: Connections: Sonarqube.

How do I change the SonarLint rule in IntelliJ?

File >> Settings >> Tools >> SonarLint >> Rules Save this answer.


1 Answers

Latest release of the SonarLint common library (used by most SonarLint flavors) unlock support of SonarTS. This is not yet officially supported in SonarLint for IntelliJ, but it will come.

SonarLint requires at least SonarTS 1.5, and it seems your have SonarTS 1.1.0 installed on your SonarQube server. So basically SonarLint is asking you to update it, and will ignore the plugin.

The classloader error should come from something else, but we need a stacktrace to better understand (look at SonarLint logs).

like image 190
Julien H. - SonarSource Team Avatar answered Oct 03 '22 22:10

Julien H. - SonarSource Team