Gruntfuggly / todo-tree

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

Custom highlights changes are not taking effect. #720

Closed Tosh0kan closed 1 year ago

Tosh0kan commented 1 year ago

So, I had custom highlight options for the tags BUG, HACK, FIXME, and TODO. I tried adding a new one for the tag TRY with the following code

"TRY": {
            "icon": "bell",
            "foreground": "#d0f502",
            "background": "#305a0000",
            "fontStyle": "italic",
            "fontWeight": "500",
            "type": "text-and-comment",
            "gutterIcon": true
        },

And it isn't taking effect at all. The only ones still being recognized and highlighted by Todo Tree are the old ones. I've tried deleting one of the other tags, uninstalling and reinstalling the extension, resetting the window, closing and opening VSCode, and nothing works. I also don't get any error messages when I save setting.json with the above snippet

Tosh0kan commented 1 year ago

So, I had custom highlight options for the tags BUG, HACK, FIXME, and TODO. I tried adding a new one for the tag TRY with the following code

"TRY": {
            "icon": "bell",
            "foreground": "#d0f502",
            "background": "#305a0000",
            "fontStyle": "italic",
            "fontWeight": "500",
            "type": "text-and-comment",
            "gutterIcon": true
        },

And it isn't taking effect at all. The only ones still being recognized and highlighted by Todo Tree are the old ones. I've tried deleting one of the other tags, uninstalling and reinstalling the extension, resetting the window, closing and opening VSCode, and nothing works. I also don't get any error messages when I save setting.json with the above snippet

SOLVED: I didn't know I had to add any new tags I wanted to use to the todo-tree.general.tags configuration option.