Highlighting whole error/warning line in Visual Studio

Jack 1 Reputation point

is there a way to highlight the line of an error by changing its background? I find very hard to find error squiggles, especially when on short operators.

I'd like a way to highlight lines with warnings or errors so that they're more visible but it looks like there's no way to customize Syntax Error style other than changing the squiggle foreground color.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,404 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,620 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 11,021 Reputation points Microsoft Employee

    Hi @Jack ,

    Welcome to Microsoft Q&A!

    It isn’t currently supported to change the background of the error and warning squiggle.

    For your requirement, you could report it to product team engineers by selecting “Help” menu > Send Feedback > Suggest a Feedback….
    Thank you for helping us build a better Visual Studio!


    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    No comments