I’ve noticed that in C# XML comments and code comments can have different colors by changing the settings in Tools > Options > Environment > Fonts and Colors > Display Items:
– Comment: controls code comments
– XML comment: controls XML comments
This works well in C#
///<summary>This XML comment is green</summary>
//This code comment is red
But not in VB.NET
'''<summary>This XML comment appears red too even though it's configured as green</summary>
'This code comment is red
Is there a way to fix this?
The coloring settings for VB and C# are different for each language.
Here’s a partial list of the corresponding settings between the two: