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?
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?
SHIFT+END, DELETE
is the only thing I can think of. You could macro-ize this, I suspect.
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.