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
I use wtf a great deal, and have also started using .editorconfig files in the last year or so. A .editorconfig file specifies whitespace type, indent size, and other editor settings for the files in a repo.
Would you be willing to add (or accept a PR for, if I can find the time :D ) a mode that reads the .editorconfig file in order to find the settings to apply? For me, that would mean I would no longer have to specify the specific trailing/eof/eol/tab-space command-line options, and would always get consistent results.
Python code to load the .editorconfig files is already available. Thanks for considering this request!
The text was updated successfully, but these errors were encountered:
Would you be willing to add (or accept a PR for, if I can find the time :D ) a mode that reads the .editorconfig file in order to find the settings to apply? For me, that would mean I would no longer have to specify the specific trailing/eof/eol/tab-space command-line options, and would always get consistent results.
Yes, this sounds useful!
Python code to load the .editorconfig files is already available. Thanks for considering this request!
My only hesitation here is that I prefer not to add external dependencies to wtf, because I end up installing it on a lot of annnnnnnnncient uncooperative systems where nothing but stock Python 2.6/2.7 is available (:frowning_face:).
On the other hand, it's obviously unreasonable to say that you should reinvent the wheel entirely here. Probably the right balance would be to try importing editorconfig and fail/warn cleanly if it's not available, and if its services were requested.
I use
wtf
a great deal, and have also started using.editorconfig
files in the last year or so. A.editorconfig
file specifies whitespace type, indent size, and other editor settings for the files in a repo.Would you be willing to add (or accept a PR for, if I can find the time :D ) a mode that reads the
.editorconfig
file in order to find the settings to apply? For me, that would mean I would no longer have to specify the specific trailing/eof/eol/tab-space command-line options, and would always get consistent results.Python code to load the
.editorconfig
files is already available. Thanks for considering this request!The text was updated successfully, but these errors were encountered: