Less red squiggles for S1144 please

The red squiggle indicators for a function not called get in the way of the squiggles that indicate a syntax error
image

This is what the function looks like after something calls it
image

Instead of adorning each and every line in the function (even blank lines) put the adornment on function name.

2 Likes

Hey Andrew.

Thanks for the feedback. One of our devs noticed this today as well (and reported this internally). This issue has been created: S1144: Highlight only the identifier name · Issue #6321 · SonarSource/sonar-dotnet · GitHub

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.