Can you 'kill' to the end of a line in Visual Studio 2008?
In 开发者_Python百科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 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.
Shift + End , Delete is the only thing I can think of. You could macro-ize this, I suspect.
精彩评论