About VSCode Extension (Plus Tips)
关于VSCode常用的扩展插件(以及设定技巧)
1. vscode-icons
给项目文件添加icon.

2. GitLens
能够以commit为单位在文件内将修改标示出来.甩锅必备.

3. Prettier
自动调整code的format,默认快捷键是alt(option) + shift + f

4.Git History
方便看git log

5.Bracket Pair Colorizer
能够为括号标注出不同的颜色!

6. TODO Highlight
为你的TODO和FIXME之类的comment添加高亮,系统只能帮你到这份上了,记得以后要修复啊!

7. Path Autocomplete
为你补全path
8. Trailing Spaces
强调行内不要的space.

9. indent-rainbow
给你的缩进添加颜色!

其他设定
[Code] => [Preferences] => [Settings] ,直接编辑json 或者从GUI搜索
1.最终行的自动改行
settings.json
1 | "files.insertFinalNewline": true |
2.特殊字符的显示
用于防止向github提交README时产生乱码的现象
settings.json
1 | "editor.renderControlCharacters": true |
3.关于自动换行
过长的时候进行自动换行显示
settings.json
1 | "editor.wordWrap": "on" |
4.自动删除不需要的行
settings.json
1 | "files.trimFinalNewlines": true |