How to auto format?
Visual Studio
2
Posts
2
Posters
0
Views
1
Watching
-
Is there a way to trigger auto format? As well as, is there a way to specify how the IDE formats? Currently, VS 2005 formats this way: do { ... Do stuff ... }while(!stop); I prefer this way: do{ ... Do stuff ... }while(!stop);
-
Is there a way to trigger auto format? As well as, is there a way to specify how the IDE formats? Currently, VS 2005 formats this way: do { ... Do stuff ... }while(!stop); I prefer this way: do{ ... Do stuff ... }while(!stop);
A lot of the formatting details can be set through menu Tools/Options/Text Editor :)
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips: - use PRE tags to preserve formatting when showing multi-line code snippets - before you ask a question here, search CodeProject, then Google