Giter Club home page Giter Club logo

Comments (4)

badsyntax avatar badsyntax commented on August 27, 2024

Would you not consider that format somewhat compressed/obfuscated? This point of this plugin is to beautify code to make it easier, not harder, to read.
You might have written CSS like this 9 years ago to save bytes perhaps? These days there's no reason to write code like that. I understand it's personal preference at the end of the day.
I'll keep this ticket open to see if there's a possibility of providing different formatting options in the future.

from sassbeautify.

yairEO avatar yairEO commented on August 27, 2024

I asked for only a simple thing and all I got was an insulting comment in return.
I write CSS this way, because I do no care about properties, but care about the selectors and how many of them can I see at once with my eyes. this improves development time greatly, when a developer can see as much code as possible, at once. properties do no matter, but proper arrangement and managing of selector does. This is a 5 minutes task for you. I most certainly NEVER ever did that to save bytes! that is such an insult. that is only done in the build process, when files are being minified. in the past I used to do it manually with regex. Today there are automated tools. I myself am managing dozens of projects and requests from people and considering things, even if they take me days to fix, and this thing I ask is really a no-brainer, and is a great option for your very nice script. I have another idea as well:
a shortcut key that would expect a current selector and contract it, so while I want to work on properties, I would view it expanded, and while i'm working on selectors, contracted. it the EVOLUTION of CSS working, IMHO. Thanks you very much in any case.

from sassbeautify.

badsyntax avatar badsyntax commented on August 27, 2024

Please try to remain decent and civil. I did not intend to insult you, I did say I understand it's personal preference. As I said, I will keep this ticket open while I explore the possibility of different formatting options. There's no such thing as a 5 minute task in the world of programming, I've put many many hours into developing this plugin, please try to have a bit of respect.

from sassbeautify.

yairEO avatar yairEO commented on August 27, 2024

why not 5 minutes? how about 1 minute? seems like this simple regex does it:

http://regex101.com/r/gZ6cJ3#PCRE

from sassbeautify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.