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 can I set match files to specific file types? #164

Closed g98aq8g09w closed 2 years ago

g98aq8g09w commented 2 years ago

I found that the default setting is /, but I just want to match .sv and *.v files. I've tried the /{.sv,.v}//*
and
/{.sv,.v}/*/ as the exclude setting style, not working.

macjuul commented 2 years ago

Hello! This should already be possible by changing the commentAnchors.workspace.matchFiles config property to **/*.{sv,v}

Currently this only applies to the workspace anchors panel. The next release will apply the same behavior to opened text files.