Add keyboard shortcuts to add new rulea and to add/move properties in focused rule
Categories
(DevTools :: Inspector: Rules, enhancement)
Tracking
(Not tracked)
People
(Reporter: nchevobbe, Unassigned)
Details
(from https://fxdx.dev/rules-view-enter-key/#comment-340)
Please consider new combos for these actions:
-
Add new CSS rules
– at the end of the current rule block
– after the currently edited rule -
Move rules up/down
– alt-[up/down] is the combo in msvs, but in notepad++ it’s ctrl-shift-[up/down], so this could be a about:configurable combo;
– by dragging them with mouse
– one by one or multiple text-selected rows
– clicking small up/down arrow buttons (could be bad for accessibility unless the buttons are large enough, which would be bad for screen-space efficiency, unless the buttons are floating and only appear when a rule (or many) are selected); -
Having an (i) button which opens a tooltip/hover window with the hotkeys/combinations, so we don’t have to google and end up on MDN to see what hotkeys are available.
Description
•