How to change the color of the headers of the extended regions in VS2008?

I would like to know if there is a way to change the color of the headers of the extended regions in VS2008. Even with the plugin of the third part.

#region My Region Title //I want this text to be in a customized color public void Foo() { //Bla bla bla } #endregion 

Does anyone know how to do this?

+2
source share
2 answers

You can change the preprocessor keyword #region and #endregion in the "Font and Colors" section of the "Tools" β†’ "Options" section ... but I never saw where you can change the text that you put after the tag.

You may want to poke http://blogs.msdn.com/saraford/ and check out your blog, as it is the queen of customizing the user interface for visual studio.

post it if you find it :)

EDIT: I found this on a Microsoft website; "You can only change the preprocessor keywords. To get more advanced formatting, you will have to look for third-party add-ons. I use CodeRush from DevExpress ( http://www.devexpress.com ) and it can do what you want. They There is a free version of Express, but I don’t know if the region coloring is in the free version.

+2
source

In Tools> Options> Environment> Fonts & Colors, change the Preprocessor Keyword element to change the color of the text area.

In Tools> Options> Environment, Fonts & Colors, change the Foldable Text element to change the text after the color of the #region instruction

+3
source

Source: https://habr.com/ru/post/910682/


All Articles