sonarlint-visualstudio
sonarlint-visualstudio copied to clipboard
Investigate reports of impact on performance of IntelliSense/editing experience
Description
We have had two recent reports of SonarLint for Visual Studio having an impact on the appearance of IntelliSense:
I experience slowdown as well when I begin typing and intellisense is supposed to pop up with suggestions. When SonarLint installed and active, it adds a very noticeable 0.5-1.0 second delay before intellisense appears. Disabling the plugin causes the delay to be removed entirely.
From here.
However, I had to disable the extension due to it being far too slow, and preventing VS in-line syntax/compilation checker from working in a useable way. Other Devs in my team have had this problem also. I am using SonarLint Version 6.13.0.62767 for Visual Studio 2022 Language used is C#
From VS Marketplace reviews.
So far we haven't been able to reproduce this locally.
Additional information/questions
- which version(s) of VS?
- for which languages does it occur? (C# is mentioned above - any others?)
- does VS show a gold bar complaining about the issue?
- using Connected Mode or standalone mode?
- does it happen on all files or just some specific files?
It would be useful to have verbose SonarLint logs (Tools
, Options
, SonarLint
, Logging level = verbose
). The logs are displayed in the SonarLint
pane of the Output
window.
Recently we had to inactive the extension due to performance, only investigate problems with threads see image attached
Recently we had to inactive the extension due to performance, only investigate problems with threads see image attached
This cause CPU % use too high
With SonarLint.VSIX-6.11 works fine, with SonarLint.VSIX-6.14 occurs
Visual Studio Professional 17.5 Definite performance degradation noticable with Sonar Lint active.
Project is a Hybrid Blazor application I'm helping develop at work. I also noticed IIS Express instances spawning a ridiculous amount of times (and dissappearing when hovering over the taskbar entries with Sonarlint active. This behaviour dissappeared after I disabled SonarLint.
Can confirm the above. I struggles with Hot reload taking too much time with SonarLint. ASP .NET Core 6 Razor Pages. Better if we can disable linting when debugging.