Hi @Dylan O'Toole,
Welcome to Microsoft Q&A!
What is your project type?
Please try the following workarounds:
- Disable all installed extensions under Extensions > Manage Extensions > Installed.
- Open Visual Studio Installer > More > Repair your VS.
- Enter “devenv /ResetSettings” at Developer Command Prompt for VS 2022 to restore your Visual Studio default settings
- Create new project and check it again.
- For code with a gray background, you can disable it via Tools > Options > Environment > Fonts and Colors > Display items: Razor Code Background > change the Item background.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.