Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... Ctrl+Delete deletes the proceeding word and Ctrl+Backspace deletes the preceding word - #044

[a blog reader let me know that i had reversed preceding and proceeding. But the title is correct now  I was obviously way too focused on drawing a nice tree.] 

I knew about Ctrl+Backspace, but Ctrl+Delete was a "oh yeah, i forgot about that" moment.

Ctrl+Delete is bound to Edit.WordDeleteToEnd

Ctrl+Backspace is bound to Edit.WordDeleteToStart

a tree (seriously)

I have no idea what sort of picture to include for this tip, so I drew a tree for everyone.

Technorati tags: ,
Posted: Friday, September 21, 2007 3:00 AM by saraford

Comments

Richard said:

Ah, good to know what those commands actually do - I've known about them for quite some time, but the command names implied they deleted the entire line from the current cursor position to the beginning/end, not single words. I'll likely start using these now - thanks!

That does bring up a point about the command names; they definitely could do with being more descriptive and/or having some real documentation. There's quite a lot that by just looking through the list of commands you have *no* idea what they do, or even if you can guess at a usuage their behaviour doesn't match up (usuaully by doing nothing in my experience as the command isn't enabled for whatever reason). These tips of yours are a good start towards that end at least. :)

# September 21, 2007 10:11 AM

Jason Haley said:

# September 21, 2007 10:18 AM

Jason Haley said:

# September 21, 2007 10:18 AM

saraford said:

Hey Richard, mapping the commands to a "what does this do?" is exactly one of the things i'm trying to do with tip of the day.  This is a good suggestion that I'll take back to our documentation people.

And isn't that an awesome tree, if i don't say so myself =)

# September 21, 2007 10:36 AM

saraford said:

BTW, do i have proceeding and preceding reversed?  Should it be the other way around?

# September 21, 2007 11:48 AM

GregM said:

Yes, you do.  The preceeding word comes up to this spot, so that's "delete to begin".  The proceeding word goes forth from this spot, so that's "delete to end".

# September 21, 2007 1:54 PM

Peter Ritchie said:

Three cheers for the tree control!

# September 21, 2007 8:07 PM

saraford said:

LMAO... That's awesome!

# September 22, 2007 1:15 PM

Noticias externas said:

Ctrl+L , bound to Edit.LineCut, will cut the current line, including EOL. Ctrl+Shift+L , bound to Edit

# September 25, 2007 6:18 AM

Sara Ford's WebLog said:

Ctrl+L , bound to Edit.LineCut, will cut the current line, including EOL. Ctrl+Shift+L , bound to Edit.LineDelete,

# January 15, 2008 12:43 AM

Visual Studio 2008 ワンポイント said:

Ctrl + L キーは、Edit.LineCut に割り当てられており、現在の行を EOL も含めて切り取ります。 Ctrl + Shift + L キーは、Edit.LineDelete に割り当てられており、現在の行を

# June 23, 2008 1:25 AM

Visual Studio 2008 ワンポイント said:

[読者の方から前後を取り違えているとご指摘がありました。今は正しいタイトルになっています。木を描くことに夢中になっていました。] Ctrl + BackSpace キーについては知っていましたが、 Ctrl

# July 7, 2008 3:46 AM

Секреты Visual Studio said:

Я знала о Ctrl+Backspace , но команда Ctrl+Delete была моментом "эх, я о ней забыла ". Ctrl+Delete

# October 3, 2008 1:57 AM
New Comments to this post are disabled
Page view tracker