Share via


How do you change namespace text color?

Question

Friday, March 7, 2014 4:26 AM

Currently my namespaces show up as black text, however I would like them to show up in a different color similar to how classes show up as cyan by default. I've looked through the environment Fonts and Colors options but didn't find anything that seemed relevant to C#. Is there a way to change the namespace color?

All replies (3)

Friday, March 7, 2014 10:20 PM ✅Answered | 1 vote

A namespace does not appear to be considered a keyword as it shows up in the default black text like any other piece of code. There is a setting for under C++, but there doesn't appear to a C# equivalent.


Monday, March 10, 2014 9:37 AM ✅Answered

Hi,

We can change the color of C++ namespace text under Fonts and Colors option, but there is no setting for C# namespace text.

You could submit this feature request:

http://visualstudio.uservoice.com/forums/121579-visual-studio

The Visual Studio product team is listening to user voice there. You can send your ideas/suggestions there and people can vote.

Thanks for your understanding.

Best regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Friday, March 7, 2014 8:11 AM

Hi,

only the namespace color? You can change the color of the keywords under Tools > Options. Then Environment and "Fonts and Colors". There choose Keyword. This should be blue by default.