fabiospampinato / vscode-todo-plus

Manage todo lists with ease. Powerful, easy to use and customizable.
MIT License
908 stars 228 forks source link

Possibly broken tags styling #377

Open Seven0fNine opened 1 year ago

Seven0fNine commented 1 year ago

Hi! Since yesterday I'm using Todo+ (v4.19.1) and it's amazing. Thank you so much. At the moment I have an issue with special tags. Although I added them and adjusted the styling in settings.json, this special tags aren't styled correctly. cms, fron and pega should have red background. Instead pega has yellow font and all other special tags are unstyled. Is this a bug or did I missed sth? :) Thank you! Annika image image

fabiospampinato commented 1 year ago

It looks like a bug 🤔 Do the built-in settings work for you or is for example @critical not styled specially there either? I don't remember if this other extension works in combination with Todo+, but worth a short to see if this can be supported with that for the time being.

Sheepolution commented 1 year ago

It seems to be the case that anything you add to the default doesn't work. If you add a tag (eg. @progress) and a color, you won't get any highlighting. But if you were to switch around @progress with @critical, then @progress will appear red, and @critical won't have any highlighting.

Sheepolution commented 1 year ago

No time and knowledge on how to debug this, but here are my finding:

  1. When adding a special tag with a special color, that new color will only be used after a restart.
  2. When adding no special color, the newly added tag won't have the default highlighting. Instead, ALL tags EXCEPT the added tag will have the highlighting.
  3. But if you add yet another special tag with no color, this seems to be fixed.
  4. After a restart however, the problem returns to the tags no longer working, and all other tags getting highlighting.