You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, please add an option to exclude files based on their header.
Multiple auto generated files have either an <auto-generated /> tag or just a simple // auto generated comment.
I use LinqConnect which generated over 200 .cs files for me, so excluding them by extension would not work.
Also excluding a whole directory would come in handy as well.
Using this, if there were multiple helpers directories, only the one thats placed in an externals directory would be excluded.
You could use the format externals\\helpers instead of externals/helpers if you want to.
The extension should read the file's first, or first x lines and look for the strings set in the denied_headers field, and if any of them are found, the formatting should be cancelled.
The text was updated successfully, but these errors were encountered:
If possible, please add an option to exclude files based on their header.
Multiple auto generated files have either an
<auto-generated />
tag or just a simple// auto generated
comment.I use LinqConnect which generated over 200
.cs
files for me, so excluding them by extension would not work.Also excluding a whole directory would come in handy as well.
In the
.formatconfig
it could look like this:Using this, if there were multiple
helpers
directories, only the one thats placed in anexternals
directory would be excluded.You could use the format
externals\\helpers
instead ofexternals/helpers
if you want to.The extension should read the file's first, or first x lines and look for the strings set in the
denied_headers
field, and if any of them are found, the formatting should be cancelled.The text was updated successfully, but these errors were encountered: