1 Star 0 Fork 0

chenguotian/Vscode workspace

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
keybindings.json 10.61 KB
一键复制 编辑 原始数据 按行查看 历史
chenguotian 提交于 2021-04-20 12:55 . 1. feature init vscode配置
// 将键绑定放入此文件中以覆盖默认值
[
// {
// "key": "tab",
// "command": "editor.emmet.action.expandAbbreviation",
// "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
// },
// {
// "key": "tab",
// "command": "editor.emmet.action.expandAbbreviation",
// "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
// },
{
"key": "ctrl+i",
"command": "cursorUndo",
"when": "editorTextFocus"
},
// 删除行
{
"key": "ctrl+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
// 向下/上复制行
{
"key": "ctrl+shift+r",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// 合并行
{
"key": "ctrl+alt+j",
"command": "editor.action.joinLines"
},
// 历史向前/后移动光标
{
"key": "alt+up",
"command": "editor.emmet.action.previousEditPoint"
},
{
"key": "alt+down",
"command": "editor.emmet.action.nextEditPoint"
},
// 向上/下移动行
{
"key": "ctrl+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// 浏览器打开
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
// 关闭所有编辑器
{
"key": "ctrl+shift+w",
"command": "workbench.action.closeAllEditors"
},
// 代码折叠
// {
// "key": "ctrl+numpad1",
// "command": "editor.foldLevel3",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+k ctrl+3",
// "command": "-editor.foldLevel3",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+numpad2",
// "command": "editor.foldLevel4",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+k ctrl+4",
// "command": "-editor.foldLevel4",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+numpad3",
// "command": "editor.foldLevel5",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+k ctrl+5",
// "command": "-editor.foldLevel5",
// "when": "editorTextFocus"
// },
// {
// "key": "ctrl+numpad0",
// "command": "editor.unfoldAll",
// "when": "editorTextFocus"
// },
// 折叠所有文件夹
{
"key": "alt+z",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "ctrl+numpad_divide",
"command": "vscode-icons.hideFoldersPreset"
},
{
"key": "ctrl+numpad_multiply",
"command": "vscode-icons.foldersAllDefaultIconPreset"
},
// 新建
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "ctrl+shift+a",
"command": "workbench.action.closeOtherEditors"
},
// 智能提示
{
"key": "ctrl+shift+space",
"command": "editor.action.triggerSuggest",
"when": "editorTextFocus"
},
// {
// "key": "ctrl+alt+space",
// "command": "editor.action.triggerSuggest",
// "when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
// },
// 块注释
{
"key": "ctrl+shift+oem_2",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
// 复制当前文件路径
{
"key": "ctrl+shift+c",
"command": "workbench.action.files.copyPathOfActiveFile"
},
{
"key": "alt+q",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
// 向下/上选词 移动选词
{
"key": "ctrl+shift+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+x",
"command": "editor.action.addSelectionToPreviousFindMatch"
},
{
"key": "ctrl+shift+i",
"command": "editor.action.moveSelectionToPreviousFindMatch"
},
{
"key": "ctrl+shift+k",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
},
// 资源管理器显示活动文件
{
"key": "ctrl+alt+s",
"command": "workbench.files.action.showActiveFileInExplorer"
},
// 插入代码块
{
"key": "alt+a",
"command": "editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
// 打开资源管理器
{
"key": "ctrl+b",
"command": "workbench.action.toggleSidebarVisibility"
},
// 高亮插件(Text Marker(Highlighter))
{
"key": "ctrl+q",
"command": "textmarker.toggleHighlight"
},
// 删除左右
{
"key": "shift+backspace",
"command": "deleteAllLeft"
},
{
"key": "shift+delete",
"command": "deleteAllRight"
},
// 打开用户自定义代码段
{
"key": "ctrl+u ctrl+s",
"command": "workbench.action.openSnippets"
},
// 在资源管理器打开活动文件
{
"key": "shift+alt+r",
"command": "workbench.action.files.revealActiveFileInWindows"
},
// 在终端打开活动文件
{
"key": "ctrl+shift+oem_3",
"command": "workbench.action.terminal.runActiveFile"
},
{
"key": "ctrl+alt+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+alt+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+alt+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+alt+numpad8",
"command": "workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+alt+left",
"command": "-workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+alt+numpad2",
"command": "workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+alt+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "alt+x",
"command": "editor.action.toggleWordWrap"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "f2",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+k s",
"command": "-workbench.action.files.saveAll"
},
{
"key": "ctrl+shift+alt+s",
"command": "workbench.action.toggleAutoSave"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.tasks.build"
},
// {
// "key": "f8",
// "command": "workbench.action.tasks.serve"
// },
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "shift+f2",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+u",
"command": "editor.action.transformToLowercase"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.quickOpenNavigateNextInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+r",
"command": "extension.openInDefaultBrowser"
},
{
"key": "alt+b",
"command": "-extension.openInDefaultBrowser"
},
{
"key": "ctrl+shift+alt+f",
"command": "editor.action.formatDocument.multiple"
},
{
"key": "ctrl+shift+alt+o",
"command": "javascript.reloadProjects"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+shift+alt+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+g ctrl+c",
"command": "git.branch"
},
{
"key": "ctrl+g ctrl+g",
"command": "git.branchFrom",
"when": "111"
},
{
"key": "ctrl+g ctrl+m",
"command": "git.merge"
},
{
"key": "ctrl+g ctrl+d",
"command": "git.deleteBranch"
},
{
"key": "ctrl+t ctrl+t",
"command": "todo-tree.addTag"
},
{
"key": "shift+alt+m",
"command": "phpfmt.format"
},
{
"key": "alt+w",
"command": "-workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "alt+d",
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "ctrl+g ctrl+g",
"command": "git.checkout"
},
{
"key": "ctrl+shift+alt+i",
"command": "editor.action.transformToSnakecase"
},
]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/cgt006/User.git
git@gitee.com:cgt006/User.git
cgt006
User
Vscode workspace
master

搜索帮助