-
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
Option to keep new line between selectors in SASS #180
Comments
SASS is handled by PrettyDiff. I recommend forwarding this issue over to https://github.com/austincheney/prettydiff and /ccing me or letting me know if there is any progress and if I should update Atom Beautify to support a newer Prettydiff version. Thanks! |
The author of PrettyDiff has added the support of this enhancement minutes ago, and he said he will launch it tomorrow. May be you can look forward of that. |
Here's the change for "preserve empty lines for CSS like languages" from PrettyDiff from 4 days ago: prettydiff/prettydiff@843185f Is it possible to update beauify with it? |
I don't think this issue has been fixed. When I have code like:
I still get
What I really want is:
atom beautifer version: 0.22.3 |
Can you confirm that Prettydiff's website does work and that this is an Atom Beautify issue? |
I can confirm that. Anything work perfectly on Prettydiff's website. |
I have updated Prettydiff to 0.11.0 with Atom Beautify v0.22.2 ( see commit history https://github.com/Glavin001/atom-beautify/commits/master ). If updating to v0.22.3 (latest, next release after v0.22.2) still does not work, then I would ask @prettydiff if those changes are supported on the Node.js version of Prettydiff and not just the web browser version. |
Actually, I just tested it and it works from the web tool. It requires use of an option preserve. This option supports these values:
On the webtool a default is set to all. In the node file the default is set to none. I will change the default in the node file to all to match the web tool. I will release this tonight. |
Migrating this issue over to #245 . I am adding support in Atom Beautify for passing the |
Published to v0.22.5 Atom Beautify uses a boolean (true or false) value for Thank you for your patients. |
Hi,
I just want to know if there is an option to keep new line between selectors in sass files.
Like below:
not
The text was updated successfully, but these errors were encountered: