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

How to use Anchor for HTML comments? #160

Closed AdmiralYenga closed 1 year ago

AdmiralYenga commented 2 years ago

Hey, I hope you're doing well!

I wanted to use Anchor comments for my HTML comments, but it doesn't work at all. My settings are on standard, and I didn't optimized them at the moment. I hope someone can help me with that, and answer my question about how to use this tool for HTML comments.

Kind regards

Yenga

JordanDi123 commented 1 year ago

Hi!

I'm doing great, thanks for asking! I hope you are well as well! 😄

You can leave anchors within HTML comments by using one of the keywords. Here's an example of a TODO anchor as shown on line 10:

image

Please ensure you have an open workspace (i.e., you opened a folder and are working from in there as opposed to just opening a random .html file on its own)

Hope that helps!

KariCodesHere commented 7 months ago

I'm also having issues in HTML. No anchors will show up in HTML, every other language works.