Closed Bug 1245067 Opened 8 years ago Closed 8 years ago

Prefer commonly-used CSS properties in Developer Tools autosuggest

Categories

(DevTools :: General, defect)

43 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1168246

People

(Reporter: matt, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20160105164030

Steps to reproduce:

Every time I edit CSS rules in the Developer Tools, I find myself typing in a property value like 'margin-b...' and have Firefox suggest I use 'margin-block-end' and 'margin-block-start', two properties I've never used and seem to be Gecko-specific. Likewise, typing 'wid..' suggests 'widows' first, which again, I've never used. It's worth noting that in both of these examples, the Chrome developer tools suggest the property I'm looking for first (even when 'width' is listed second, after 'widows').

I can understand why the tool shows the closest alphabetical match when autosuggesting properties, but being pragmatic, I imagine 90%+ of developers are aiming for margin-bottom or width rather than obscure/non-standard properties. Would it be possible to tweak these suggestions so they favour the more commonly-used properties, like Chrome's tools do?
Component: Untriaged → Developer Tools
I believe there's another bug on file with this request.  Patrick, can you confirm?
Flags: needinfo?(pbrosset)
Ah – a bit of searching turns up this: https://bugzilla.mozilla.org/show_bug.cgi?id=1168246

Looks like lots of progress has been made there! Would be awesome to see it get over the line soon :)

thanks all.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Resolution: INVALID → DUPLICATE
Flags: needinfo?(pbrosset)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.