Malaika Consultants LLC

Howto : Quickly align code in Visual Studio

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.

Tags:

Coding

::: | © Malaika Consultants LLC | :::

Malaika Consultants LLC

Malaika Consultants LLC is a custom software development consulting firm located in Cary (Raleigh Durham Research Triangle AKA RTP area ) North Carolina. We offer our expert consulting services in the Microsoft .NET and related technologies. Our mission is to partner with you and ensure the success of your project. We have a team in the USA that will help you with your Information Technology needs and we strive to be truly "Your Information Technology Angels"

We are offering 1 hour of free consulting -- ASP.NET, SQL Server, IIS, anything. Contact us to get your free consulting

Recent Comments

Comment RSS