Open Bug 1898273 Opened 1 year ago Updated 1 year ago

Autocomplete is annoying when typing relative color syntax (or in any kind of functions)

Categories

(DevTools :: Inspector: Rules, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 3 open bugs)

Details

Typing a color using relative color syntax, e.g. rgb(from gold 200 g b / alpha), the autocomplete gets into the way:

  • it doesn't autocomplete from
  • it always show a list of named colors
  • it doesn't have the channel token (e.g. r,g,b, alpha)

Note that Bug 1898277 might be done at the same time

See Also: → 1898277

A simple approach could be to disable the autocomplete inside functions, but ideally we would provide autocompletion based on the function where the user is typing.

Severity: -- → S3
Priority: -- → P3
Summary: Autocomplete is annoying when typing relative color syntax → Autocomplete is annoying when typing relative color syntax (or in any kind of functions)
Blocks: 1900304
Blocks: 1900305

Let's disable autocomplete in functions (other than var()) for now.
Bug 1900304 will be dedicated to have better autocomplete inside those

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