How to delete from cursor until end of line with VS or Power Tool

PaeneInsula picture PaeneInsula · May 18, 2012 · Viewed 8k times · Source

In VS2010, how can I delete from the cursor position until the end of the line. I once read about such a shortcut, but now cannot find it.

Answer

Mark Hall picture Mark Hall · Jul 30, 2012

The Editor Command is called Edit.DeleteToEOL You can see it in the Tools --> Options --> Environment --> Keyboard Dialog. There is no predefined keyboard shortcut assigned to it, but Visual Studio gives you the option of creating one.

enter image description here