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

how to exclude files from being styled by anchor tags? #80

Open GorvGoyl opened 4 years ago

GorvGoyl commented 4 years ago

I have setup # as an anchor tag but this is messing up with my .md and .env files.

"commentAnchors.tags.list": [
    {
      "tag": "#",
      "scope": "file",
      "iconColor": "default",
      "highlightColor": "#A8C023",
      "styleComment": true,
      "isBold": true,
      "isItalic": false,
      "isRegion": true
    },
}

How not to stylize .md and .env files when I add # in these files? but it's fine in .ts,.js files.

macjuul commented 4 years ago

This is currently not possible, however I'll look into adding support for this in the near future