Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still select case bug alignment in VS 2010
Message
From
22/07/2010 08:31:08
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
17/07/2010 14:17:43
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01472802
Message ID:
01473457
Views:
53
>>It's the way I'd expect it to be. The first one is outside any case code. The rest aren't and are indented accordingly:
Select Case i
>>            'Outside any Case
>>            Case 1
>>                'Inside Case 1
>>            Case 2
>>                'Inside Case 2
>>        End Select
>
>Yes, you are right. I wonder how it could be implemented so it would know that a comment just before a case should be aligned to it.

I do it like this.
Select Case i
     Case 1  ' SQL
     Case 2  ' Oracle
               
End Select
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform