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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Any way to automatically add braces for single line code inside if or something like that?
if
For the source code like this:
if (TRUE) a = 1 b = 2
Current default result for tidy_source():
tidy_source()
Expected formatted result (of the requested feature):
if (TRUE) { a = 1 } b = 2
The text was updated successfully, but these errors were encountered:
Nope, but if you can figure out how to implement it, I'd be glad to take a look at your pull request :)
Sorry, something went wrong.
No branches or pull requests
Any way to automatically add braces for single line code inside
if
or something like that?For the source code like this:
Current default result for
tidy_source()
:Expected formatted result (of the requested feature):
The text was updated successfully, but these errors were encountered: