-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Preserve small objects inline (Old issue resurfaced) #995
Comments
How are you running js-beautifier? Command-line or as a part of another tool? If part of another tool, please make sure that tool as the latest version. |
I'm working in Brackets. I'm assuming the code is the same since the version number is the same. I installed it fresh. Is there a different fix for brackets? |
So, you're using this: https://github.com/brackets-beautify/brackets-beautify ? |
Ah! I didn't know it was a separate project! I assumed it was the same one |
This definitely works without any issues in Atom which internally uses js-beautify. It must be related to Brackets. |
You are correct. I just read on the other project that the latest version of brackets-beautify hasn't been uploaded to the servers because of an error. I assumed that since I wasn't getting an update option that it was the most recent. I'm now up to date and it works as expected! |
☀️ Great! ☀️ |
@Ceyaje any reason not to close the ticket if the issue is resolved? |
This:
should not turn into this:
This issue was marked fixed with the solution being to set brace_style to "collapse-preserve-inline". This hasn't worked, and objects are still being spread across multiple lines.
The text was updated successfully, but these errors were encountered: