Click here to Skip to main content
11,477,625 members (78,760 online)
Click here to Skip to main content

Shortcut for format code file with proper spacing or tab

, 19 Oct 2010 CPOL 3.3K 2
Rate this:
Please Sign up or sign in to vote.
Alternatively, you can erase your closing bracket (}) and VS will format the whole block (between opening & closing bracket). This works only if there is no syntax error in that block.
Alternatively, you can erase your closing bracket (}) and VS will format the whole block (between opening & closing bracket). This works only if there is no syntax error in that block.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

ben pour

Unknown
No Biography provided

Comments and Discussions

 
GeneralThe block could be as big as whole code in that file or clas... Pin
ben pour27-Feb-11 17:05
memberben pour27-Feb-11 17:05 
GeneralRe: No, no, you have to write perfect code first, then you never... Pin
johannesnestler22-Nov-11 8:03
memberjohannesnestler22-Nov-11 8:03 
GeneralReason for my vote of 1 Its not proper way. Its something li... Pin
Doshi Kavita25-Feb-11 23:06
memberDoshi Kavita25-Feb-11 23:06 
Generalafter erasing ,retype } then only VS IDE will format the cod... Pin
Bikash Shrestha From Nepal24-Oct-10 7:16
memberBikash Shrestha From Nepal24-Oct-10 7:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150520.1 | Last Updated 19 Oct 2010
Article Copyright 2010 by ben pour
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid