-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sdfmt: support stdin and stdout, together with --assume-filename
#262
Comments
Sorry I missed this. I'd don't have the bandwidth to make this happen right now, but I'd be happy to assist and/or review any work done on that front. This seems like a good feature. |
response is appreciated, notifying contributors (e.g. me) that the work will not be in vain |
Definitively not, being able to format from stdin is a very useful feature. maybe even be the default if no file is specified on the command line? I'd be happy to provide pointer through the codebase to do that, but for the most part this should probably happen in the driver for sdfmt or close by. |
The feature request is to be able to input code via stdin, and then outputting to stdout.
Then for the style to be applied, one should be able to specify
--assume-filename
(by which then the normal config file lookup would be used).Clang-format also has this
--assume-filename
option (https://clang.llvm.org/docs/ClangFormat.html).The text was updated successfully, but these errors were encountered: