标签:开头 直接 字体 diff err javascrip 代码格式化 highlight aci
F1 或 Ctrl+Shift+P : 打开命令面板。在打开的输入框内,可以输入任何命令,例如:
Ctrl+P 模式Ctrl+P 下输入 > 可以进入 Ctrl+Shift+P 模式Ctrl+P 窗口下还可以:
Ctrl+Shift+MCtrl+G 直接进入Ctrl+Shift+O 直接进入Ctrl+Shift+O 后输入:进入Ctrl+TCtrl+Shift+NCtrl+Shift+WCtrl+NCtrl+TabCtrl+1 Ctrl+2 Ctrl+3Ctrl+k然后按 Left或 RightCtrl+[ 、 Ctrl+]Ctrl+C 、 Ctrl+V 复制或剪切当前行/当前选中内容Shift+Alt+F,或 Ctrl+Shift+P 后输入 format codeAlt+Up 或 Alt+DownShift+Alt+Up 或 Shift+Alt+DownCtrl+EnterCtrl+Shift+EnterCtrl+EndCtrl+HomeAlt+F12Ctrl+Shift+]Shift+EndShift+HomeCtrl+DeleteShift+Alt+Left 和 Shift+Alt+RightAlt+Shift+鼠标左键, Ctrl+Alt+Down/UpCtrl+Shift+LCtrl+D 下一个匹配的也被选中 (在 sublime 中是删除当前行,后面自定义快键键中,设置与 Ctrl+Shift+K 互换了)Ctrl+UCtrl + Shift + L键,即可快速选中当前文件中所有匹配的词,并在每一个词后面有一个编辑光标,可批量同步编辑Ctrl+K Ctrl+0(零)Ctrl+K Ctrl+JCtrl+K RShift+F12Ctrl+F12F2,输入新名字,回车,则所有该方法的引用也都同步更新了F8 逐个跳转Set file tocompare,然后需要对比的文件上右键选择 Compare with file_name_you_choseCtrl+FCtrl+HCtrl+Shift+FF11Ctrl +/-Ctrl+BCtrl+Shift+ECtrl+Shift+FCtrl+Shift+GCtrl+Shift+DCtrl+Shift+UFile -> AutoSave,或者 Ctrl+Shift+P,输入 auto打开默认键盘快捷方式设置:File -> Preferences -> Keyboard Shortcuts,或者:Alt+F -> p -> k
修改 keybindings.json:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// Place your key bindings in this file to overwrite the defaults[ // ctrl+space 被切换输入法快捷键占用 { "key": "ctrl+alt+space", "command": "editor.action.triggerSuggest", "when": "editorTextFocus" }, // ctrl+d 删除一行 { "key": "ctrl+d", "command": "editor.action.deleteLines", "when": "editorTextFocus" }, // 与删除一行的快捷键互换 { "key": "ctrl+shift+k", "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" }, // ctrl+shift+/多行注释 { "key":"ctrl+shift+/", "command": "editor.action.blockComment", "when": "editorTextFocus" }, // 定制与 sublime 相同的大小写转换快捷键 editor.action.transformToLowercase editor.action.transformToUppercase { "key": "ctrl+k ctrl+u", "command": "editor.action.transformToUppercase" "when": "editorTextFocus" }, { "key": "ctrl+k ctrl+l", "command": "editor.action.transformToLowercase" "when": "editorTextFocus" }] |
使用等宽字体:
vscode 自定义配置参考:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ "editor.fontSize": 16, "editor.tabSize": 2, "editor.fontLigatures": true, // 使用等宽字体 Fira Code "editor.fontFamily": "Fira Code, ‘Noto Sans CJK SC Medium‘, Consolas, ‘Courier New‘, monospace", // 关闭右侧的 minimap "editor.minimap.enabled": false, "editor.minimap.renderCharacters": false, "files.associations": { "*.es": "javascript", "*.es6": "javascript" }, // 控制编辑器是否应呈现空白字符 "editor.renderWhitespace": "all", // 启用后,将在保存文件时剪裁尾随空格。 "files.trimTrailingWhitespace": true, // File extensions that can be beautified as javascript or JSON. "beautify.JSfiles": [ "", "es", "es6", "js", "json", "jsbeautifyrc", "jshintrc" ], // 关闭 git 自动刷新、fetch、add 操作 "git.enableSmartCommit": false, "git.enabled": true, "git.autorefresh": false, "git.autofetch": false,} |
标签:开头 直接 字体 diff err javascrip 代码格式化 highlight aci
原文地址:https://www.cnblogs.com/moluxi/p/13081481.html