当前的功能是给我一个下拉选项,选择哪个选项卡是如此烦人。是否有可能删除它,使标签将像在一些现代网络浏览器。
当前回答
卓帕卡布拉有修正行为的正确答案。
我通常更喜欢使用CTRL + PAGE UP / DOWN来导航,而不是使用TAB键。
{
"key": "ctrl+pageUp",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+pageDown",
"command": "workbench.action.previousEditor"
}
其他回答
VSCode 2022
>首选项->键盘快捷键(或Ctrl + K,然后Ctrl + S) 在搜索栏输入“ctrl tab” 替换现有的键绑定(在图片上用红色突出显示)与任何随机 输入“打开下一个编辑器”-将“Ctrl + Page down”替换为“Ctrl + Tab”。 点击“打开以前的编辑器”
使用Sublime文本键图。更直观了。
⌘k⌘m
导入Sublime文本键图:
Name: Sublime Text Keymap and Settings Importer
Id: ms-vscode.sublime-keybindings
Description: Import Sublime Text settings and keybindings into VS Code.
Version: 4.0.3
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings
你可以这样做: 1.)打开vscode。 2.)按ctrl+k+s(按写好的顺序)。 3.)在搜索栏中输入以下内容:nextEditorInGroup按下第一个传入和键绑定它(由2按下)alt+->(右errow)。 4.)做同样的prevEditorInGroup和键绑定它到alt+<-(左errow)。 5.)现在你可以通过alt+左或alt+右传递标签!
更好的方法是使用alt+右和alt+左键导航,就像Jetbrains IDE Webstorm一样
这是我的配置。它还包括创建新文件和文件夹
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "alt+left",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+right",
"command": "workbench.action.nextEditor"
}
Linux键映射来匹配浏览器:
[
{
"key": "ctrl+0",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "alt+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "alt+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "alt+3",
"command": "workbench.action.focusThirdEditorGroup"
}
]
推荐文章
- 如何设置每个文件类型的标签大小?
- 我如何添加环境变量启动。VSCode中的json
- 如何格式化Visual Studio Code项目中的所有文件?
- Pylint在Visual Studio代码中“未解决的导入”错误
- 如何在VS Code中默认打开文本换行
- 在Visual Studio代码中更改突出显示文本的颜色
- Visual studio代码-键盘快捷键-全部展开/折叠
- Visual Studio Code无法检测已安装的Git
- 禁用Visual Studio代码中的工具提示提示
- Visual Studio Code -将空格转换为制表符
- 在VSCode中的列自动硬换行
- Visual Studio Code:格式没有使用缩进设置
- 如何排除文件扩展名和语言从“格式保存”在VSCode?
- Visual Studio代码- URI的目标不存在" package:flutter/material.dart "
- VSCode——如何设置调试Python程序的工作目录