且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何配置Visual Studio代码以使用Mac的标准选项卡切换快捷方式?

更新时间:2022-12-07 09:31:14

您可以根据需要自己绑定每个快捷方式.通过命令面板或菜单代码"->首选项"->键盘快捷键"打开keybindings.json.

You can bind every shortcut yourself if you want. Open you keybindings.json (via command palette or menu Code->Preferences->Keyboard Shortcuts).

cmd+k cmd+k键会为您提供一个小的输入字段,用于预填充正确的JSON语法.

Pressing cmd+k cmd+k gives you a little input field that prefills the correct JSON syntax.

用于切换选项卡的命令称为workbench.action.nextEditorworkbench.action.previousEditor

The commands for switching tabs are called workbench.action.nextEditor and workbench.action.previousEditor