[wp-trac] [WordPress Trac] #42213: Code Editors: Filter autocomplete suggestions

WordPress Trac noreply at wordpress.org
Fri Oct 13 16:34:24 UTC 2017


#42213: Code Editors: Filter autocomplete suggestions
--------------------------+-----------------
 Reporter:  melchoyce     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.9
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 I noticed when playing with some CSS earlier than when you start writing a
 property, the value brings up an autocomplete panel (awesome!) but it
 autocompletes with literally every value you can use ever. Is there a way
 to filter those suggested values by relevance?

 So, for example, I do `text-transform`. The autocomplete values should be
 `uppercase`, `lowercase`, `capitalize`, `none`, and `full-width`, plus
 `inherit`, `initial`, and `unset`.

 Or, `color` should only suggest colors.

 Unsure if this should only be a CSS editor thing or what.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42213>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list