by Swanand Mokashi
23. November 2010 20:07
I recently had a project where I had to copy paste code from bunch of other projects that we had worked on. As a results the code was really not aligned in terms of tab indentation. As we follow a company wide standard for the code alignment, this was going to be a problem. But Visual Studio came to the rescue. Simply select the code block that you want to indent properly and then press CTRL+K followed by CTRL+D. Voila! The code is now nicely indented.