-
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
Extra line before closing CSS/SCSS rule? #181
Comments
+1 for this. |
Is this acknowledged or being fixed? It's a real obstacle. Thanks. |
Forward those issues to their respective maintainers and see if those are being worked on or fixed. If they are resolved let me know and I will update Atom Beautify to reflect their updates 👍. Thanks. |
They prettydiff maintainer cannot reproduce the bug. In fact, if you go to http://prettydiff.com and try this block, you'll see it works fine. Try it in Atom (.174) saved as SCSS or CSS and it happens.
|
I am away from my laptop right now however if you could submit a failing test as a pull request that would be very helpful. Look in the examples directory and follow that structure to add both test input and expected output files. Thanks and I'll try to take a closer look ASAP. — On Sat, Jan 17, 2015 at 8:39 PM, Steve Lombardi [email protected]
|
I'm looking into this right now. Looks like a change between 1.6.3 to 1.8.8 of Prettydiff. I am able to get it to work properly, however my unit tests are failing, so this leads me to believe that there is a new Prettydiff option or a default has changed. I'll see if I can figure it out and let you all know. |
This sort of code"
beautifies to this:
There is an empty line before the closing bracket. I would rather that not be there or, if anything, add the empty line AFTER the last bracket.
Note this is the last bracket of each rule in SCSS, like so:
The bracket for the sub-rule is fine.
Atom 168.0, Atom Beautify 0.21.2, OS 10.10.1
The text was updated successfully, but these errors were encountered: