aaron-bond / better-comments

https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
MIT License
821 stars 157 forks source link

How do i color comments to HTML ? #511

Closed murugappanrm closed 7 months ago

murugappanrm commented 7 months ago

This extensions shows only example for languages other than HTML. How do i color code the HTML Comments?

edwinhuish commented 7 months ago

Same.

<!--
! comment one
# comment two
? comment three
-->
murugappanrm commented 7 months ago

Sorry Bro, does not seem to work.

Screenshot_1

edwinhuish commented 7 months ago

Try this https://marketplace.visualstudio.com/items?itemName=EdwinHuiSH.better-comments-next

murugappanrm commented 7 months ago

@edwinhuish

You must have fixed the problem in your version of the extension. It works great, thank you. One question. What does "better-comments.tagsDark" do?

Also if you could enhance what this one can do, it will make life complete: https://marketplace.visualstudio.com/items?itemName=ashhitch.vs-code-css-comments

edwinhuish commented 7 months ago

What does "better-comments.tagsDark" do?

better-comments.tags is the default tags options. better-comments.tagsDark will overwrite better-comments.tags when use dark theme. better-comments.tagsLight will overwrite better-comments.tags when use light theme.

Also if you could enhance what this one can do, it will make life complete: https://marketplace.visualstudio.com/items?itemName=ashhitch.vs-code-css-comments

I think this is not the "better comments" functional scope.

murugappanrm commented 7 months ago

Hi, Thank you for the update.

Does better-comments.tagsLight i have to create my own values and setting and it will apply when i set the theme for vscode to a light version?

With regards to the enhancements, its only my wish list as i feel that both are related to comments in codes. I understand if it cannot be done. Hopefully another extension comes along.

edwinhuish commented 7 months ago

Does better-comments.tagsLight i have to create my own values and setting and it will apply when i set the theme for vscode to a light version?

YES

murugappanrm commented 7 months ago

Ah, I see thank you so much. We shall close this issue/discussion.