Open Bug 1874641 Opened 4 months ago Updated 4 months ago

Add keyboard shortcuts to add new rulea and to add/move properties in focused rule

Categories

(DevTools :: Inspector: Rules, enhancement)

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:

  1. Add new CSS rules
    – at the end of the current rule block
    – after the currently edited rule

  2. 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);

  3. 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.

You need to log in before you can comment on or make changes to this bug.