Jackie Liu
Jackie Liu

Reputation: 1

visual studio code IDE keyboard shortcuts customization

I am new to visual studio code IDE. I know about keybinding.json and have been playing with what's in there. My question is if there is a file that stores a complete list of "command"s? eg: "workbench.action.splitEditor". Without a complete list of such command strings, I don't know what I can customize beyond what's in the keybinding file.

I have been using vs for more than 10 years, there are a few things I always do and I wonder if there is a way to achieve the same result in VSCode: 1. "alt+shift+l" -> go from current editing file from editor to solution explorer, and the cursor is on the current editing file in the solution explorer 2. "enter" -> hit enter key on a highlighted file name in solution explorer opens that file in editor area 3. "esc" -> hit esc key when focus is on solution explorer brings focus back to editing area. 4. alt arrow keys -> when in editing area, performs column based editing

Upvotes: 0

Views: 641

Answers (2)

sbat
sbat

Reputation: 1888

  1. "alt+shift+l" -> go from current editing file from editor to solution explorer, and the cursor is on the current editing file in the solution explorer

Ctrl-Shift-E does exactly that now (as of 1.19.3, these are Windows hotkeys, other platforms slightly differ).

  1. "enter" -> hit enter key on a highlighted file name in solution explorer opens that file in editor area

This works like that now out of box.

  1. "esc" -> hit esc key when focus is on solution explorer brings focus back to editing area.

To go to VSCode editor from anywhere: Ctrl-1.

  1. alt arrow keys -> when in editing area, performs column based editing

Ctrl+Alt+ ↑ / ↓ works for this now.

Upvotes: 0

Isidor Nikolic
Isidor Nikolic

Reputation: 2759

You can see the complete list of actions > Preferences > Keyboard shortcuts.

Upvotes: 1

Related Questions