JBB*_*JBB 7 c# vb.net visual-studio-2005 visual-studio
我注意到在C#中XML注释和代码注释可以通过更改工具>选项>环境>字体和颜色>显示项目中的设置来使用不同的颜色: - 注释:控制代码注释 - XML注释:控制XML注释
这适用于C#
///<summary>This XML comment is green</summary>
//This code comment is red
Run Code Online (Sandbox Code Playgroud)
但不是在VB.NET中
'''<summary>This XML comment appears red too even though it's configured as green</summary>
'This code comment is red
Run Code Online (Sandbox Code Playgroud)
有没有办法来解决这个问题?
Jef*_*ado 10
VB和C#的着色设置对于每种语言都是不同的.
以下是两者之间相应设置的部分列表:
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
| 归档时间: |
|
| 查看次数: |
6017 次 |
| 最近记录: |