参考 那些你应该考虑卸载的 VSCode 扩展 - 知乎 (zhihu.com)
扩展整理
need:
- auto rename tag
- auto close tag
- live server
- vscode-svg2
- koroFileHeader
- prettier
- HTML CSS Support
在线工具:
regex101: build, test, and debug regex
replace:
- path autocomplete替代
path intellisense - GitHub Pull Requests替代GitHub
delete:
- HTML CSS Suppor
- IntelliSense for CSS class names in HTML
- import-cost
- npm Intellisense
- Document This
- import-cost
- Output Colorizer
- SVG Viewer
- Regex Previewer
- vscode-fileheader
- XML Tools
- TSLint
- jshint
- Beautify
- JS-CSS-HTML Formatter
- Prettify JSON
- IntelliSense for CSS class names in HTML
?
- Bracket Pair Colorizer 2
扩展配置
todo:
研究todo tree的使用
Gruntfuggly/todo-tree: Use ripgrep to find TODO tags and display the results in a tree view (github.com)
目前用到的配置参考: 不才的 todo-tree 配置 - 简书 (jianshu.com)
可参考的TODO Tree的配置
"todo-tree.highlights.defaultHighlight": {"type": "text","foreground": "#FF8C00","background": "#000000","opacity": 0,"gutterIcon": false},
"todo-tree.general.tags": ["TODO:", "FIXME:"],"todo-tree.highlights.defaultHighlight": {
"gutterIcon": true},"todo-tree.highlights.customHighlight": {
"TODO:": {
"foreground": "#fff",
"background": "#ffbd2a",
"iconColour": "#ffbd2a"
},
"FIXME:": {
"foreground": "#fff",
"background": "#f06292",
"icon": "flame",
"iconColour": "#f06292"
}}
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.general.tags": [
"TODO",
"DONE",
"FIXME",
"BUG",
"NOTE",
"STAR"
], // can add more tags with default style like 'STAR'
"todo-tree.regex.regexCaseSensitive": false, // make TODO == todo
"todo-tree.highlights.customHighlight": {
"STAR": {
// "foreground": "white",
"background": "Gold",
"icon": "star-fill",
"rulerColour": "Gold",
"iconColour": "Gold"
},
"DONE": {
"foreground": "white",
"background": "green",
"icon": "check-circle-fill",
"rulerColour": "green",
"iconColour": "green"
},
"FIXME": {
"foreground": "white",
"background": "RoyalBlue",
"icon": "gear",
"rulerColour": "RoyalBlue",
"iconColour": "RoyalBlue"
},
"BUG": {
"foreground": "white",
"background": "Crimson",
"rulerColour": "Crimson",
"iconColour": "Crimson"
},
"NOTE": {
"foreground": "black",
"icon": "bookmark-fill",
"background": "BurlyWood",
"rulerColour": "BurlyWood",
"iconColour": "BurlyWood"
},
},
