StarlaneStudios / vscode-comment-anchors

⚓A Visual Studio Code extension that adds support for comment anchors 🔭
https://marketplace.visualstudio.com/items?itemName=ExodiusStudios.comment-anchors
MIT License
212 stars 33 forks source link

Feat : Highlight keys regardless of their position in a comment #168

Closed aleportillo closed 1 year ago

aleportillo commented 2 years ago

In previous versions the word was highlighted when I wrote it like this // ------ ANCHOR :

but in the new versions it is only highlighted if I write them like this // ANCHOR :

I wish there was an option to enable the first highlight option, thank you!

macjuul commented 2 years ago

Hey, sorry for the inconvenience. We recently released a change to the anchor parser making it more strict. You can however specify custom anchor prefixes using the commentAnchors.tags.matchPrefix.

image

aleportillo commented 2 years ago

Thanks! That works for me.So, if you want you can close the issue ✨