atom-beautify icon indicating copy to clipboard operation
atom-beautify copied to clipboard

Option not working: "CSS/Newline between rules"

Open seaniod opened this issue 3 years ago • 1 comments

Description

The atom-beautify Settings for the option CSS/"Newline between rules" do not work as I expected.

When I disable this option and run beautify, here's what happens:

Input Before Beautification

This is what the code looked like before:

h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}

Expected Output

The beautified code should have looked like this:

h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}

Steps to Reproduce

  1. Add code to Atom editor
  2. Run command Atom Beautify: Beautify Editor
  3. This beautified code does not look right!

Debug

Here is a link to the debug.md Gist: https://gist.github.com/seaniod/f18955a57a0881f39cf3fb25a1bf8a9f

Checklist

I have:

  • [ x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
  • [x ] Reloaded (or restarted) Atom to ensure it is not a caching issue
  • [x ] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues so I know this is not a duplicate issue
  • [x ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
  • [x ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

seaniod avatar Jan 06 '22 08:01 seaniod

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605

If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks

SilentGlasses avatar Feb 01 '23 02:02 SilentGlasses