Open Bug 1128058 Opened 9 years ago Updated 2 years ago

Show CSS values found within the page first in the values suggestions list

Categories

(DevTools :: Style Editor, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: danemacmillan, Unassigned)

References

(Blocks 1 open bug)

Details

By smart, I mean to say the following, which was originally posted in a bug 1097516 about the color suggestions popup:

This bug got me thinking: what if the color suggestions were prioritized? By prioritized, I mean to say that any and all colors defined in the applied stylesheet(s) will be suggested first, and then all the generic, alphabetically-ordered color names will be listed afterwards. That would be badass. Not to mention, when debugging a UI, I do not typically care about every color under the rainbow; I just care about the colors defined in the UI's color palette. If I have not explicitly defined `aliceblue`, `antiquewhite`, `aqua`, etc, I especially do not want to stumble through the irrelevant suggestions. Who even uses color names anymore?
Comment 1 was meant for a completely different post. I would delete it if I could.
You can tag it with off-topic to hide it by default, which I have done for you.
I generalized the summary, so that it covers more than just color values, e.g. font families could also be prioritized. And I made the summary more precise in regard of what 'smart' means.

Sebastian
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Smart color suggestions when editing CSS → Show CSS values found within the page first in the values suggestions list
See Also: → 1097516
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.