Did you know… How to delete horizontal white space at the beginning of a line? – #022

On the Edit – Advanced menu, you’ll find the Delete Horizontal White Space (interesting, i thought whitespace was one word) command bound to Ctrl+K, Ctrl+\.

Delete Horizonta lWhite Space Command on Edit Advanced menu

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

Deleted horizontal whitespace

Technorati tags: VS2005Tip, VS2008Tip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>