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

IntelliSense support display language specific anchor types #206

Open carloswm85 opened 11 months ago

carloswm85 commented 11 months ago

I've added this anchors for use in .pine files (PineScript language):

image

And as you can see below, it is visible in .dart, which is something I don't really need, since the anchor tags are really language specific.

image

As you can see above, I've added a lot of tags that I won't use outside of PineScript.

Is it possible to add a new configuration as follows?

"commentAnchors.tags.anchors": {
    "INDICATOR FEATURES & DESCRIPTION": {
        "languageSpecific": "PineScript" // OR .pine OR pinescript
    },
    ...
}