Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off SonarLint automatic triggering on IntelliJ IDEA

Is there some way of turning-off automatic SonarLint analysis in Intellij IDEA?

I have some 10,000 to 20,000 lines-of-code classes (don't ask, not my fault, trying to refactor). Every time I edit even a single character in the class, the SonarLint plugin makes IDEA unusable for a few minutes.

It is not possible to save the "Automatically trigger analysis" checkbox in the unchecked state in Other Settings > SonarLint General Settings. Is there some other solution to my problem? I really want to use the plugin. I just can't use it in automatic mode.

like image 850
Derek Bennett Avatar asked Aug 26 '16 21:08

Derek Bennett


People also ask

How do I turn off SonarLint?

Luckily, turning off SonarLint for a project is a simple two part operation. Just go to the project preferences and choose SonarLint. Then uncheck “Run SonarLint” automatically.

How do I change the SonarLint rule in IntelliJ?

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

How do I fix sonar issues in IntelliJ?

Use the "Test Connection" button to make sure your IntelliJ can connect to the OpenLMIS Sonar. Set the SonarLint Project Settings: Click "Enable binding...", then select the OpenLMIS server you added in the previous step. Then select the project that corresponds to whichever project you have open in IntelliJ.


2 Answers

For intellij:

Go to File -> Settings New window will open In new window Expand tools -> locate SonarLint and click on it. Under settings tab of SonarLint -> uncheck the box 'Automatically trigger Analysis'. enter image description here

like image 82
sway Avatar answered Oct 18 '22 23:10

sway


Go to File -> Settings -> Other Settings -> SonarLint General Settings then uncheck the Automatically trigger analysis check box

like image 25
Natsen Avatar answered Oct 19 '22 01:10

Natsen