is it possible to replace squaggles with straight line or highlights in visual studio?

moeen kamali 1 Reputation point
2021-08-29T12:14:59.407+00:00

i think those squiggles are really ugly and Resharper uses them a lot. not just for errors but also for suggestions and... that you don't want to fix it. so there are lots of squiggles in a same file.

i could not find any setting in vs or ReSharper to make that better. is there any suggestions for it?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Lex Li (Microsoft) 5,322 Reputation points Microsoft Employee
    2021-08-30T00:02:53.367+00:00

    For ReSharper you can completely disable code analysis or just ask certain rules to mute via "Do not show".

    Visual Studio has similar settings.

    BTW, you are highly recommended to resolve as many as possible, as those issues reported are quite typical indicators of bad code smells.

    0 comments No comments

  2. Karen Payne MVP 35,386 Reputation points
    2021-08-30T01:12:16.647+00:00

    As Lextm mentioned about Resharper disabling

    127315-figure1.png

    0 comments No comments