Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio keyboard shortcut to go to end of line in Windows

I'm using visual studio community 2017. I want to remap the keyboard shortcut that moves the caret to the end of line (since I'm working on a laptop without the "End" key).

I know how to remap visual studio keys, but I can't find the menu item for it. Do you know what is the menu/action name for it so I can change it?

I can't find the answer on the web though it was asked several times.

like image 582
eli-bd Avatar asked Jul 07 '17 14:07

eli-bd


People also ask

How do I jump to the end of a line in Visual Studio?

CTRL + J/L : Move cursor to start/end of line. ALT + SHIFT + O : Mark characters from cursor to end of line.

How do you go to the end of the line in Vscode Windows?

Highlight the row and press ENTER. Press Shift + Space.


2 Answers

This is the way to go:

enter image description here

Don't forget to change Global to Text Editor.

like image 178
Muhammad Ali Avatar answered Oct 12 '22 00:10

Muhammad Ali


The command name is Edit.LineEnd. You can assign a new shortcut to it in Visual Studio keyboard options.

Assign the shortcut in the "Text Editor" scope (rather than the default "Global" scope).

When done correctly, it should look like this:

enter image description here

like image 26
Sergey Vlasov Avatar answered Oct 12 '22 01:10

Sergey Vlasov