是否可以覆盖VB.NET(使用Visual Studio 2008)中注释的自动缩进?
请参见下面代码中第二个Case语句上面的注释以获取上下文信息。
IDE将注释自动缩进到以下Case语句之外。我想覆盖此行为并使其与后面的C对齐。
Select Case E.Type
'General Events
Case EventType.General_StartServer
'Initialize the Server Brain (ME)
GLOBAL__I_AM_THE_SERVER = True
Init()
'Server Alerts
Case EventType.ServerAlert_Chat
EventManager.SendEventToAllClients(New GameEvent(EventType.ClientAlert_Chat, 0, 0, 0, E.Str))
End Select