In our IDE (Intellij 2019.2), when we update the binding to the latest provided by sonarcloud (Using SonarLint 4.2.0.3434), the SonarJS plugin gets disabled and isn’t used to analyze our files locally.
In our plugin folder, we can see that it downloaded sonar-javascript-plugin-5.2.1.7778.jar
, but it never loads it.
From our log in Intellij:
Create : /Users/Username/Library/Preferences/IntelliJIdea2019.2/sonarlint/plugins
Plugin cache: /Users/Username/Library/Preferences/IntelliJIdea2019.2/sonarlint/plugins
Create : /Users/Username/Library/Preferences/IntelliJIdea2019.2/sonarlint/plugins/_tmp
Load plugins
Code analyzer 'SonarJS' is transitively excluded in this version of SonarLint. Skip loading it.
Load plugins (done) | time=76ms
Plugins:
* SonarPython 1.17.0.4900 (python)
* SonarKotlin 1.7.0.883 (kotlin)
* SonarTSQL 1.4.0.3334 (tsql)
* SonarApex 1.7.0.883 (sonarapex)
* SonarPLSQL 3.4.1.2576 (plsql)
* SonarRuby 1.7.0.883 (ruby)
* SonarScala 1.7.0.883 (sonarscala)
* License for SonarLint 8.0.0.1929 (license)
* SonarJava 5.14.0.18788 (java)
* SonarCOBOL 4.4.0.3403 (cobol)
* SonarHTML 3.2.0.2082 (web)
* SonarXML 2.0.1.2020 (xml)
* SonarPHP 3.2.0.4868 (php)
* SonarABAP 3.8.0.2034 (abap)
Using storage for server 'SonarCloud' (last update 10/24/19, 12:51 PM)
If we disable the “Bind Project to SonarQube / SonarCloud” in Intellij, we’re able to analyze our files locally on our machine again. But when we turn on the binding to SonarCloud, it won’t load SonarJS and it can’t analyze any files locally.
We had another developer who had an older configuration binding from SonarCloud (~30 old) and their SonarJS did load, and it analyzed their local files. But as soon as they updated their binding with SonarCloud, SonarJS refused to load and they couldn’t run an analysis on their files.
Is there change recently with SonarCloud preventing our plugin from loading?