Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still select case bug alignment in VS 2010
Message
De
22/07/2010 08:31:08
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
17/07/2010 14:17:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01472802
Message ID:
01473457
Vues:
52
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform