This is a beautiful extension, but there is a problem: many false anchors are found.
You should limit the characters that are allowed around the text string.
It would be very useful to be able to define the allowed characters.
My suggestion
matchBefore
"commentAnchors.tags.matchBefore": [
" ",
"//"
],
// ANCHOR this is an anchor
//ANCHOR this is an anchor
// NEXT-ANCHOR this is not an anchor
//anytext "ANCHOR" this is not an anchor
// AAA/ANCHOR/BBB this is not an anchor
matchAfter
"commentAnchors.tags.matchAfter": [
" ",
":"
],
//ANCHOR this is an anchor
//ANCHOR: this is an anchor
//ANCHOR_TYPE this is not an anchor
//ANCHOR.TYPE this is not an anchor
//ANCHOR123 this is not an anchor
My config
CommentAnchors v1.9.6
VSCODE v1.63.2
OS: Windows 10
This is a beautiful extension, but there is a problem: many false anchors are found.
You should limit the characters that are allowed around the text string. It would be very useful to be able to define the allowed characters.
My suggestion
matchBefore
matchAfter
My config
CommentAnchors v1.9.6 VSCODE v1.63.2 OS: Windows 10