We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Does rust support context-aware range formatting? From the command-line help it seems it's not the case. If not can we have that as a feature?
The text was updated successfully, but these errors were encountered:
Could you give an example of the kind of thing you want?
Sorry, something went wrong.
foo.rs: struct Foo { bar: i32 } struct Bar { baz: bool }
command: cat foo.rs | rustfmt --lines=4-4
output: struct Foo { bar: i32 } struct Bar { baz: bool }
The idea is to be able to selectively format some lines. Most formatters support that, ex: clang-format.
See #434. I'm working on it at the moment.
No branches or pull requests
Does rust support context-aware range formatting? From the command-line help it seems it's not the case.
If not can we have that as a feature?
The text was updated successfully, but these errors were encountered: