开发者

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

开发者 https://www.devze.com 2022-12-18 02:24 出处:网络
In 开发者_Python百科Unix-y editors, you can often press CTRL-k (kill) to delete everything after the text caret position on the current line.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消