jbockle / format-files

VS Code extension to format all files in workspace
41 stars 13 forks source link

"formatFiles.extensionsToInclude" seems not work properly in v3.1.2 #22

Closed samuelyhsu closed 3 years ago

samuelyhsu commented 3 years ago

Only origin "*" could work, if I use "c,h,cpp,hpp" instead, it won't match or only match one file.

This is a great tool. Thank you for your effort.

leowu2017 commented 3 years ago

it can be set for only one extension in this version, e.g., "c", or "h".

HpLightcorner commented 3 years ago

I came accross the same issue - you would have to add curly braces so that the extensions are working.... like "{c,h,cpp,hpp}" - I opened a PR as I think the behaviour is not so obvious....

jbockle commented 3 years ago

updated in #27, thanks @HpLightcorner