vscode-comment-anchors
vscode-comment-anchors copied to clipboard
Cannot match lowercase tags
https://github.com/ExodiusStudios/vscode-comment-anchors/issues/9#issue-363635240 I have seen this issue two years ago and it looks like you have added this feature? But it turns not to work for me... Even I manually added lowercase tags, the extension cannot parse and catch them. Thank you for any help, and this extension is really useful.
@lethefrost hi according here it is seem to be intended
Maybe we can create a new parameter for this feature
@lethefrost hi according here it is seem to be intended
Maybe we can create a new parameter for this feature
Oh! I think you are right. There are a lot of tag.toUpperCase()
. And I would really appreciate it if you add this feature!
@lethefrost Hi, my bad.
Is setting Match case to false can do the trick for you ?
@lethefrost Hi, my bad.
Is setting Match case to false can do the trick for you ?
Thank you! It works, now that the editor can catch the anchors regardless of cases.
However what I want is a little bit more complicated, I hope it to match the case that exactly as I set in the settings.json, for example, if I have todo
, REVIEW
, TODO
in the setting, then it will match todo, TODO, REVIEW
but won't match review
or Review
. If I just simply set the commentAnchors.tags.matchCase
to false
, it will also get "review" as anchor which is undesirable because review is a real word and can occur in some nature language description, which is not intended to be an anchor.