Problems with VB code formatting when XML Doc comments exist.
When I run the code formatter for VB code, I'm getting an odd extra indentation for class declarations when XML Doc comments exist. For example, if I have this:
Public Class TestClass
End Class
If I add a simple comment like this before the class, then run the formatter, everything remains the same and looks good:
' My test class
Public Class TestClass
End Class
Public Class TestClass
End Class
But if I add full XML Doc comments before the class, then run the formatter, the class declaration gets indented:
''' <summary>
''' My test class
''' </summary>
''' <remarks></remarks>
Public Class TestClass
End Class
''' My test class
''' </summary>
''' <remarks></remarks>
Public Class TestClass
End Class
I haven't been able to find any setting in Resharper (v7.1.3) that will correct this. Would appreciate any suggestions.
Please sign in to leave a comment.