-
Notifications
You must be signed in to change notification settings - Fork 453
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
Javascript collapse-preserve-inline does not work #831
Comments
And the result is the same with the version 0.28.24. |
If I run js-beautify from command line, the result is the expected so it is not a bug in js-beautify (or at least it looks like that).
|
There was a bug in 0.28.23 ( I pushed a feature I had not finished implementing by accident). Could you please update your debug.md with the latest version of Atom Beautify. Thank you! Also it appears that the changes made by #779 are still available: https://github.com/Glavin001/atom-beautify/blob/master/src/languages/javascript.coffee#L75-L76 I believe the problem will be because of the bug (incomplete feature) I published. I apologize for this. I see in your debug.md:
I recommend that you go into your Atom Beautify package settings again and find This should resolve your problems. Let me know if it does not or if you have any more questions. |
I already tried this with one computer this morning with the newest version and also changed the settings in the settings view. It didn't work. Now I upgraded another computer to version 0.28.24 and with this computer it works. I try again with the first computer to see if there was some problems with the upgrade or something else. If there are not any new messages, then everything is fine. Thanks for your response! |
Just to confirm, it works now also with the first computer. I deleted the plug-in second time but now the settings from config file as well and installed it again. |
Sorry about that. I was working on a separate branch and I must have accidently merged it in because 1 stray commit screwed up all of the settings. Glad to hear it is working now. I think you and other users will be pleased with the new settings organization once I have completed it 😃. |
No problem. This is one of the best settings in Atom Beautify / JS-Beautify ever. |
Hello
But after formatting (js beautify and prettydiff), I get this:
The last bit causes me to grab an extra cup of coffe . Thanks |
Description
The new option
collapse-preserve-inline
for Javascript does not work.Expected Results
The beautified code should have looked like:
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/ttsirkia/ea5ec670aae96d6dedb1The text was updated successfully, but these errors were encountered: