Skip to content

Tip 1.7: How to delete horizontal white space at the beginning of a line

July 7, 2012

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

Sara Aside

She always thought that “white space” was one word, but according to the Visual Studio UI, it is apparently two words. For this tip, she’ll let the UI win and call it “white space.”

On the Edit–Advanced menu, you’ll find the Delete Horizontal White Space command bound to Ctrl+K, Ctrl+^.

To use, put the cursor anywhere in the white space that precedes the line and press Ctrl+K, Ctrl+^. You can also select multiple lines and delete the white space at the beginning of each line.

Happy Programming! =)

Advertisements
Leave a Comment

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: