xyz
xyz

Reputation: 27837

Can you 'kill' to the end of a line in Visual Studio 2008?

In Unix-y editors, you can often press CTRL-k (kill) to delete everything after the text caret position on the current line.

Is there an equivalent "single action" in the Visual Studio 2008 text editor?

Upvotes: 1

Views: 506

Answers (2)

i_am_jorf
i_am_jorf

Reputation: 54600

Shift + End , Delete is the only thing I can think of. You could macro-ize this, I suspect.

Upvotes: 2

Permaquid
Permaquid

Reputation: 1978

In Tools|Customize look at the Commands tab. There is a Delete to EOL command. You can drag it to a toolbar. Also you can assign a shortcut key.

Upvotes: 4

Related Questions