Obbles
Obbles

Reputation: 563

How to reset only code formatting to default settings in visual studio?

I am having problems editing PowerShell files in Visual Studio. Comments are shown in a hard-to-read green text, and I have no idea how it got this way. It could be that an extension is causing the problem.

How can I reset this setting without resetting all of my settings? (or if anyone else can suggest a different solution, I am all ears)

Below is a screenshot of what I see: hard-to-read green text example

Upvotes: 0

Views: 1948

Answers (2)

Obbles
Obbles

Reputation: 563

It turns out that it was DevExpress' Coderush addon causing the problem. It is actually the 'RichComments' feature that is causing the issue Toggle Rich Comments

I must have accidentally click on the toolbar option without realising. Now I know.

To make the issue go away, one just has to toggle the button on the toolbox.

Upvotes: 0

Lennart
Lennart

Reputation: 10333

You can reset the fonts and colors for the editor under Tools => Options => Environment => Fonts and Colors => "Use Defaults" (top right).

Upvotes: 1

Related Questions