| > or I pull up reused fonts and colours into re-used classes (or less
> variables) and just edit that one spot. good editor could pull up reused fonts and colours automatically (detecting if they the same in various nodes). > I either have specific rules I want to edit Yes, I'm also making possibility of filtering by specific rules and finding by CSS selector (in HTML also) And different filters are just a part of the editor. Actually, my first idea was creating something that would allow to make quick changes that are super easy when operating on tree, but you must do them by hand in text editors (e.g. operations like "move to parent", "wrap this HTML element in new `div` element etc.). I also want editor to be operable without keyboard/mouse switching. And because when I make websites I often use mouse to test in browser all functions, I want good mouse support and be able to change e.g. top from 0px to 10px using only mouse. This is possible in e.g. DevTools, why not to put this feature in editor? > Edit: as I think about the idea, it would be awesome if I could click on > any html element in a file and it would be able to statically analyze and > show all applicable css selectors. Yes. It would be nice, although I didn't solve this from technical perspective yet. But for now I think about something like in Brackets - you edit HTML and could edit styles in place without switching to the other file. |
Be sure to post anything awesome you create to HN!