Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.42k stars 137 forks source link

Update the docs #631

Open dimaslanjaka opened 2 years ago

dimaslanjaka commented 2 years ago

Custom color, Custom Tag Not Working As Written In ReadMe.

Custom color cannot be filled with text, use hex/rgb instead.

And the docs not giving full example for customized settings.json. (.vscode/settings.json)

~icon name lists.~

writing tag and sub tag samples.

image image image image

dimaslanjaka commented 2 years ago

working config: ~but i dont have any ideas to change icon, ive tried some keywords and fails. i just know icon check and beaker~

{
  "todo-tree.highlights.useColourScheme": true,
  "todo-tree.highlights.customHighlight": {
    "@todo": {
      "iconColour": "#cde022",
      "icon": "check",
      "type": "line"
    },
    "@route": {
      "icon": "beaker"
    }
  },
  "todo-tree.general.tagGroups": {
    "@todo": [
      "todo",
      "TODO"
    ],
    "@route": [
      "route"
    ]
  },
  "todo-tree.filtering.excludeGlobs": [
    "**/node_modules",
    "**/tmp"
  ],
  "todo-tree.general.tags": [
    "BUG",
    "HACK",
    "FIXME",
    "TODO",
    "XXX",
    "[ ]",
    "[x]",
    "@todo",
    "@route"
  ]
}