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

Codicon not showing #594

Closed bika-c closed 2 years ago

bika-c commented 2 years ago

The gutter-icons are not showing when using codicon

Here is my config

"todo-tree.highlights.defaultHighlight": {
        // "icon": "tools",
        "gutterIcon": true
    },
    "todo-tree.highlights.customHighlight": {
        "TODO": {
            "foreground": "#fff",
            "background": "green",
            "icon": "$(pinned)",
            "gutterIcon": true,
            // "iconColour": "#ffbd2a"
        },
        "FIXME": {
            "foreground": "404040",
            "background": "CECC40",
            "icon": "$(tools)",
            // "iconColour": "#f06292"
        },
        "BUG": {
            "background": "#e75856",
            "icon": "$(bug)"
        },
        "XXX": {
            "background": "3B78FF",
            "icon": "$(beaker)"
        }
    },

Effect:

image
Gruntfuggly commented 2 years ago

Unfortunately vscode doesn't support codicons in the gutter - you can use the equivalent octicons though (if they exist).

e.g. "bug" or "beaker"

bika-c commented 2 years ago

Ah, ok. Thanks for clarification