Anyone interested in improving CSS?

John Peters - May 20 '20 - - Dev Community

I think we all have opinions about CSS and its current set of tools. One tool that's sorely needed that doesn't exist; is the ability to refactor CSS.

The design points:

  • We are talking about a real CSS editor.
  • We must have intellisense to all current relevant CSS. For example, at anytime we type in something like "." or "#" or "div" all current definitions pop up, as we type the list gets filtered more and more until we either pick the one we want or we create a new one. If we pick one then we are taken to that line in that file.
  • All relevant style-sheets should be included in the search due to the fact that CSS is about cascades. E.g. we have two cascading styles, with same names e.g. ".controls", then we should see all styles with that name in all relevant style sheets.

For now, that's enough to get started. But as we work on this together we will eventually be able to turn CSS into a real language, not a DSL. Our goal is ultimately to do things like refactor, combine, delete, find unused styles, but we'll talk about that later. Even though CSS will never be a real language like JavaScript, we can create editor plug-ins that treat it like one.

Looking for folks

  • Who know Visual Studio Code editor internals
  • JavaScript or Typescript folks who can read CSS files either from the editor or from file locations and produce filterable drop down lists.

Interested?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player