vscode-comment-anchors icon indicating copy to clipboard operation
vscode-comment-anchors copied to clipboard

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

Open JustBarnt opened this issue 2 years ago • 1 comments

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.

JustBarnt avatar Aug 16 '22 19:08 JustBarnt

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.

macjuul avatar Oct 08 '22 16:10 macjuul