vscode-todo-highlight
vscode-todo-highlight copied to clipboard
Add TODO category/type
Please, add the ability to assign a type/category/namespace to a TODO in order to have the opportunity to view just one type of todos.
What types would you use? I just don’t know what is the reason of this feature
Leng-term and short-term for instance, or todos from a specific section of an app, like in the boundaries of a single feature being developed, while some other TODOs are not relevant at the moment.
I think you could use todohighlight.keywors option in settings.json. It's an array with labels that todohighlight will be looking for in your files. But you would need to pre-define all of them, so if you have a list of what categories it would be you can just insert them in there. You can even customize highlight style.
"todohighlight.keywords": [
"TODOLONG:",
"TODOSHORT:",
{
"text": "NOTE:",
"color": "#ff0000",
"backgroundColor": "yellow",
"overviewRulerColor": "grey"
},
{
"text": "HACK:",
"color": "#000",
"isWholeLine": false,
},
],
What about adding some sort of tagging?
// TODO: fix some issue #some-tag
@thitemple It might be a good idea but it looks that this repository is stale for over a year 😞