# TODO TREE ![1](https://hackmd.io/_uploads/Hkzv5bX36.png) 可以快速地讓你找到你所標註的地方 ### 使用效果: ![image](https://hackmd.io/_uploads/BkssK86DT.png) ![image](https://hackmd.io/_uploads/rkOLF8awa.png) ### 顏色模式 : - foreground 前景色 - background 被景色 - opacity 背景透明度 - iconColour ICON顏色 - gutterIcon 是否在編輯器溝槽中顯示ICON --- ### icon 圖示 : 1. [codicon | The icon font for Visual Studio Code (microsoft.github.io)](https://microsoft.github.io/vscode-codicons/dist/codicon.html) 2. [Octicons | Primer](https://primer.style/foundations/icons) --- ### type 高亮模式: - tag 只有標籤本身會被高亮 ![image](https://hackmd.io/_uploads/BkGIuU6wa.png) - text 標籤與其後面文案 高亮 ![image](https://hackmd.io/_uploads/S1DUuI6Dp.png) - tag-and-commtent 高亮標籤與前面的註解符號 ![image](https://hackmd.io/_uploads/BysLdL6wa.png) - line 高亮一整行 ![image](https://hackmd.io/_uploads/BkxvdUTD6.png) - whole-line 高亮註解所在的一整行(後面不管有沒有內容) ![image](https://hackmd.io/_uploads/HkSDu8ava.png) - none 不高亮 --- ### Setting.JSON : ctrl + shift + p > open user settings.json 進入 ``` { "explorer.confirmDragAndDrop": false, "security.workspace.trust.untrustedFiles": "open", "bracketPairColorizer.depreciation-notice": false, "liveServer.settings.donotShowInfoMsg": true, "emmet.triggerExpansionOnTab": true, "[javascript]": { "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "[html]": { "editor.defaultFormatter": "vscode.html-language-features" }, "[vue]": { "editor.defaultFormatter": "Vue.volar" }, "liveSassCompile.settings.formats": [ { "format": "expanded", "extensionName": ".css", "savePath": "~/../css", "savePathReplacementPairs": null } ], "explorer.confirmDelete": false, "[scss]": { "editor.defaultFormatter": "MikeBovenlander.formate" }, "[json]": { "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "[css]": { "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "workbench.editor.showTabs": "multiple", "workbench.editor.enablePreview": false, "editor.tabSize": 2, "gutterpreview.imagePreviewMaxHeight": 100, "gutterpreview.imagePreviewMaxWidth": 100, "gutterpreview.paths": { }, "gutterpreview.showImagePreviewOnGutter": false, // 以下複製貼上 "todo-tree.highlights.customHighlight": { "TODO":{ //待作清單 "foreground": "#FFEB38", "type":"line" }, "BUG": { "icon": "bug", "foreground": "#F56C6C", "type": "line" }, "HACK":{ "icon": "versions", "foreground": "#E040FB", "type":"line" }, "FIXME": { "icon": "flame", "foreground": "#E91E63", "type":"line" }, "XXX":{ "icon": "unverified", "foreground": "#E91E63", "type":"line" }, "TEMP": { // 暫時保留 "icon": "cloud", "foreground": "#3ad4ff", "type":"line" }, "NOTE": { // 添加說明,或留訊息 "icon": "note", "foreground": "#6df22a", "type":"line" }, "TAG": { // 標籤快速搜尋 "icon": "tag", "foreground": "#00ff4c", "type":"line" }, "[?]": { // 需要詢問不解的 "icon": "question", "foreground": "#ffb300", "type":"line" } }, "todo-tree.highlights.defaultHighlight": { }, "todo-tree.general.tags": [ "BUG", "HACK", "FIXME", "TODO", "XXX", "[ ]", "[x]", "TEMP", "NOTE", "TAG", "[?]" ], "todo-tree.general.tagGroups": { }, } ```