estruyf / vscode-hide-comments

This extension started as a joke for people who do not like to see comments in the code. The extension will basically set all comments to transparent, they will not be removed.
https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-hide-comments
MIT License
36 stars 3 forks source link

Create new regex to allow certain comments #29

Open CosmeValera opened 1 month ago

CosmeValera commented 1 month ago

Hello!

I have seen this option: image

And what this regex does is to make transparent also the console.log piece of code before the comment.

I would like that the same regex idea existed but with showComment instead of hideComment. For instance, I would like to hide all comments that are java-doc like image But I would like to keep the code in normal comments like this: image

estruyf commented 1 month ago

Thanks @CosmeValera for the suggestion.