Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / ASP.NET

Shortcut for format code file with proper spacing or tab

2.50/5 (2 votes)
19 Oct 2010CPOL 11.8K  
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)