Giter Site home page Giter Site logo

Comments (4)

mishanga avatar mishanga commented on May 28, 2024

:) you can try!

from csscomb.js.

kizu avatar kizu commented on May 28, 2024

WIP

from csscomb.js.

tonyganch avatar tonyganch commented on May 28, 2024

A few words on detecting custom sort order.

It may sound weird, but the task is similar to finding a De Bruijn sequence.
It's used in bioinformatics for sequence assembly, but can be modified a bit and used for collecting properties' sort order.

from csscomb.js.

kizu avatar kizu commented on May 28, 2024

I gave the idea of detecting custom sort order some thoughts. And came up with idea that I'm not capable of doing it right now. All the other options (well, almost all of them) can be easily detected and it would work ok with template file, but when it comes to sort order… As there are different cases for detection, only one of them can benefit from the detecting the sort order — generating the code style options for the project. Other two — normalize and using .css file as a template wouldn't benefit from it.

  • Storing this kind of data in a template wouldn't be that pretty: it should be easy to make changes of code style in it and having dozens of declarations there won't help.
  • When it comes to normalize, my first guess is that it would mostly do some random things to users code. I'd say, in most cases, people do not write CSS in any particular order, so the result would be strange average thing that would only harm users. Things like sort order should be made from scratch and by people, not automagically detected from existent something.

from csscomb.js.

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.