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

Anchor appears when keyword is not inside a comment, but inside a TS Enum #136

Closed rodrigoaddor closed 2 years ago

rodrigoaddor commented 2 years ago

Hello! Not sure if this is intended or not, but I'm getting comment anchors on Typescript enum keys.

Example:

enum Test {
  TODO = 'todo',
  NOTE = 'note'
}

image

I'm not sure if the anchors are supposed to appear in any appearances of the keywords, but although it is not something that breaks some functionality or such, it would be good to have a setting so that anchors only appear inside comments.

Cheers!

danilort commented 2 years ago

I suggested this change: https://github.com/StarlaneStudios/vscode-comment-anchors/issues/138

macjuul commented 2 years ago

Hello and thanks for your issue!

Since this specific issue has received lots of attention recently, any further discussion on the topic will be consolidated into #116