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

TODO color display is inconsistent #781

Open liudid opened 1 year ago

liudid commented 1 year ago

In vsCode, in the same file, the color of the first TODO is different from that of the subsequent comments, and the color of the second TODO is also different from that of the first TODO. Sometimes they are all the same, and no rule is found. Below is my configuration "todo-tree. highlights. customHighlight": { "TODO": { "type": "text", "iconColour": "#d3adf7", "foreground": "#cccccc", "background": "#b51eb5", "opacity": 60 }, "FIXME": { "type": "text", "iconColour": "#e6a23c", "foreground": "#000000", "background": "#e6a23c", "gutterIcon": true, "opacity": 90 }, "BUG": { "type": "text", "iconColour": "#f56c6c", "foreground": "#000000", "background": "#f56c6c", "gutterIcon": true, "opacity": 90 }, "HACK": { "type": "text", "iconColour": "#08979c", "foreground": "#000000", "background": "#08979c", "gutterIcon": true, "opacity": 90 } } Is this a bug or a configuration issue?

The effect I want is: when the type is "text", TODO is light in color, and the following comments are in dark color, but I checked the documentation and found no configuration instructions[](url)

1713D929-FAEC-4273-8F33-1BF064DAD899