aaron-bond / better-comments

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

FR: Specify enabled languages/files in config #493

Open joshzoi opened 1 year ago

joshzoi commented 1 year ago

This is a feature request to specify either a language or file type that better-comments will work with. By default, it would be enabled for everything. For example, a field in settings.json for language selection like:

"better-comments.languages": ["cpp"]

or for file support:

"better-comments.files": [".h", ".cpp"]

Styling is currently applied globally to the project, and in some languages/files it's not desirable to have better-comments enabled.