Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stop this?
Message
 
À
28/02/2018 03:24:56
Information générale
Forum:
Visual Studio
Catégorie:
Éditeur de texte
Versions des environnements
Visual Studio:
Visual Studio 2013
Divers
Thread ID:
01658453
Message ID:
01658486
Vues:
53
>>Really hate when I close curly brackets or semicolons and all spaces I added to make my code more readable disappears.
>>How to stop this?
>>I don't want to remove all autoformating, just try to stop this:
>>
>>bool something = (Test1          ? false : (linecheck1     != linecheck2)
>>                  SomeLongerTest ? false : (linecheckLong1 != linecheckLong2));
>>
>>to bacame this:
>>
>>bool something = (Test1 ? false : (linecheck1!= linecheck2)
>>                  SomeLongerTest ? false : (linecheckLong1 != linecheckLong2));
>>
>>
>>TIA
>
>Don't know what version of VS you are using. In 2017 under Tools/Options/Text Editor/C#/Code Style/Formatting/Spacing (phew) there's a 'Ignore spaces in declaration statements' which might be a step in the right direction....

Thank you Viv,
I use VS 2013 for now and there is no such option in it :-)
Thank you again.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform