简体   繁体   中英

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

您可以看到操作>首选项>键盘快捷键的完整列表。

  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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM