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
206 stars 32 forks source link

[Suggestion] -- Line breaks follow highlight pattern until new tag or there is an empty linebreak between comment tokens #165

Open JustBarnt opened 2 years ago

JustBarnt commented 2 years ago

It would be nice to be able to have the comment remain highlight when manual wrapping the comment to a new line.

Ex.

//TODO: TODO HERE AND MORE TEXT
// Continuing todo here.
//TODO: TODO HERE AND MORE TEXT
//TODO: Continuing todo here.

The highlight color does not follow, you need to enter TODO again.

macjuul commented 1 year ago

Hello! While nice to have, this functionality would currently be difficult to add since its difficult to detect anchors over multiple lines and determine where they end, and I unfortunately don't currently have the resources to explore this.

I'll leave this issue open in case anyone is willing to submit a PR for this.