Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 453 forks source link

CSS support shadowdom selectors? #658

Closed arturparkhisenko closed 8 years ago

arturparkhisenko commented 8 years ago

I have only 1 problem, but maybe we have another problems with shadowdom selectors. Before beautify: :host ::content after beautify: :host::content. Maybe i can config that?

prettydiff commented 8 years ago

Is this a problem standard CSS or in something like LESS/SCSS? I ask because the default beautifier used for CSS is different than for the other languages and I cannot reproduce the problem in those other languages.

arturparkhisenko commented 8 years ago

@prettydiff thanks, its standard CSS.

prettydiff commented 8 years ago

It appears csscomb is the default beautifier if I am reading https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/index.coffee correctly. You may wish to open a bug with that project: https://github.com/csscomb/csscomb.js

@Glavin001 is this correct?

Glavin001 commented 8 years ago

The default beautifier for CSS is JS Beautify: https://github.com/Glavin001/atom-beautify/blob/master/src/languages/css.coffee#L28

Also see https://github.com/Glavin001/atom-beautify/blob/master/docs/options.md#language-config---css---default-beautifier