阅读更多
1 快捷键
- 搜索文件:
ctrl+p - 回到上一个/下一个编辑处:
ctrl + -/ctrl + shift + - ⇧⌘P:打开命令列表upper:转为大写lower:转为小写
⌘]:增加缩进⌘[:减少缩进⇧⌘O:函数列表⌘T:在当前工作目录中查询符号⇧⌥F:格式化代码⌘⌥[:折叠鼠标所在代码段⌘⌥]:展开鼠标所在代码段
2 配置
- 禁用行内作者提示链接:
gitlens.codeLens.authors.enabled - 禁用引用补全:
editor.autoClosingQuotes - Tab对应的空格数量,是否受到文本中已有的缩进影响:
editor.detectIndentation
3 插件
c++相关
C/C++C++ IntellisenseRemote DevelopmentBetter C++ Syntax
markdown相关
Markdown Preview Enhanced
4 c_cpp_properties.json
如何打开该配置:⇧⌘P,然后输入Edit Configurations
5 settings.json
MacOS:~/Library/Application\ Support/Code/User/settings.jsonLinux:~/.config/Code/User/settings.json
6 vim
Commands可以参考keybindings
1 | "vim.normalModeKeyBindingsNonRecursive": [ |