SonarLint hurting performance of Visual Studio 2017 15.9.34 on Windows 10

Hi all,

I’m using SonarLint for the Visual Studio version named above. It is in connected mode, connected to SonarQube Enterprise Edition Version 8.3.1. I’ve attached the list of active plugins at the bottom. Note that my particular project is only using the C++ related ones, but I’ve put in the full list of active ones just in case.

I’ve noticed that when I have the SonarLint extension active in Visual Studio while working on a very large C++ project, my Visual Studio Software becomes less responsive. The Intellisense syntax highlighting takes longer to appear, and the application itself becomes less responsive when I’m just clicking around and trying to type. Occasionally, the application completely freezes and I get the banner at the top says that the program is not responding and I have to force close it. Is there anything different I can configure in SonarLint or SonarQube to prevent this performance degradation?

Active plugins:
C# Code Quality and Security
C++ (Community)
CFamily Code Quality and Security
Dependency-Check
Git
JaCoCo
Java Code Quality and Security
License for SonarLint
SonarABAP
SonarApex
SonarCOBOL
SonarCSS
SonarFlex
SonarGo
SonarHTML
SonarJS
SonarKotlin
SonarPHP
SonarPLI
SonarPLSQL
SonarPython
SonarRPG
SonarRuby
SonarScala
SonarSwift
SonarTS
SonarTSQL
SonarVB6
SonarXML
Svn
VB.NET Code Quality and Security
Vulnerability Analysis
Vulnerability Rules for C#
Vulnerability Rules for Java
Vulnerability Rules for PHP
Vulnerability Rules for Python

Hello @marcusj, welcome to the community and thank you for reporting this to us.

For C and C++ analysis, SonarLint is analyzing the file only when the file is saved or first opened, so you shouldn’t experience delays when typing.

Would you mind sharing additional information:

  1. Can you please share a screenshot of the banner that appears at the top, that says that the program is not responding?
  2. When your VS slows down – can you please open the output window (View → Output), select “Show build output from: SonarLint” and copy-paste here the log?
  3. What is your SonarLint version? (you can see it under Extensions → Manage Extensions → Installed)

Thank you,
Rita