Click here to Skip to main content
12,455,517 members (62,732 online)
Click here to Skip to main content
Add your own
alternative version

Stats

5.3K views
2 bookmarked
Posted

Shortcut for format code file with proper spacing or tab

, 19 Oct 2010 CPOL
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

No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

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

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.160826.1 | Last Updated 19 Oct 2010
Article Copyright 2010 by Behzad Talebpour
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid