visual-studio-2010editorproductivity-power-tools

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


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.


Solution

  • 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