-
Notifications
You must be signed in to change notification settings - Fork 23
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
assign variables breaks into new lines (question) #83
Comments
Hey @mau2099 this is likely a defect. You can adjust it manually after initial format. |
thanks for your answer! Thank you a lot! |
So likely an issue with PrettyDiff the current version of this extension is using or something internally happening when the code is being formatted, I would need to run tests to see where it actually happening, nothing wrong with your code though. In Liquify, the formatting logic was completely overhauled and it uses a hard-froked variation of PrettyDiff which addresses all these issues. That project is called Prettify so I will likely upstream the defect in that project.
In the past I have failed to come through on release dates (like, I am really bad at keeping to deadlines with this tool) so I try to avoid giving them because I am the only developer really working on it atm. I am aiming towards a summer release as per liquify.dev. I just need to find the time, I apologize for delays or headaches the current version is giving you. |
🚢 Shipped v3.0.0 |
Hi! I was wondering how can I get a better format:
I have this messed piece of code (before format)
Messed pieced of code
current outcomes (formatted)
expected outcomes (desired)
(all assign statements in one line)
how could I get this kind of formatting?
The text was updated successfully, but these errors were encountered: