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:
C# VB Comment Comment XML Doc Attribute VB XML Attribute XML Doc Comment VB XML Comment (the second one) XML Doc Tag VB XML Doc Tag
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