VisualStudio - Disable scrollbar annotations


Is there a way to disable scrollbar annotations just for sonarlint in Visual Studio? For old projects with lots of issues makes the scrollbar almost full of annotations. I’d like to keep the underlines in the code while not having the annotations in the vertical scrollbar, is it possible? In Eclipse I know you can, but in Visual Studio the only option I saw was disabling errors from the scrollbar, but it also affect to actual errors not just sonar lint…


Hi @Toni. Welcome to the community!

Unfortunately not. We don’t control the scrollbar annotations - it’s a standard feature of VS.
Our analyzers just report the errors to VS, and VS decides how to display them (squigglies, scroll bar annotation etc)