Instant indentation in Visual Studio

29 04 2011

This is a kind of “tip of the day” which I should’ve shared sooner. One of the most common shortcuts I use in Visual Studio is this:

Ctrl+K Ctrl+D

This magic little piece of key-punching instantly and perfectly indents all the code on your current page. Go on, try it out. You’ll never manually indent code again.

If you would like to name your firstborn either Control-KD or Viktor junior, that’s ok.





One response

30 08 2011

Behöver kanske kika in här lite då och då. Går snart kursen 10267EBC för att damma av och komplettera gammal kunskap.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: