I searched all around, but I can't find the option to change the color of "name" after #region in VS2012.
For example if I have the following code:
#region Test some code
CallSomeCode();
#endregion
How do I change the color of Test some code
?
After looking at this and other posts on the Internet, this is what worked in VS 2015 for me:
#region and #endregion keywords: Preprocessor Keyword [immediately applied]
Text after the #region keyword: Preprocessor Text [immediately applied]
Collapsed region: Collapsed Text (Collapsed) [must restart Visual Studio]
In VS 2012 the following worked for me:
You may need to restart VS to take effect
Personally I wish there was two types of comments - one for disabling code, and one for explanatory remarks. They are two very different things but generally treated the same in most languages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With