Gruntfuggly / todo-tree

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

[feature] Only show the specified tag's count? #705

Closed yunyuyuan closed 1 year ago

yunyuyuan commented 1 year ago

I have a custom tag *DEBUG, which indicates that the following code is for debug only, I want the activity bar to show only the *DEBUG tag's count,so that I can pay attention to them before committing.

Gruntfuggly commented 1 year ago

Thats currently not possible - the count only shows the total. I could potentially add a 'hideFromBadgeCount' so you could only include the tags you're interested it.

Gruntfuggly commented 1 year ago

I've added support for this to the latest version - you can now specify 'hideFromActivityBar' for custom tag highlights.

Should be available in 0.0.221 shortly.

yunyuyuan commented 1 year ago

@Gruntfuggly Thanks a lot! Here is an example for people who find this issus:

Set todo-tree.highlights.customHighlight

image

Result

image