Файли
openidea/src
Dimas Avrian Fachriza 65c45ffe05 fix(editor): complete hyphenated tokens such as Tailwind classes (#6463)
Typing a hyphenated token such as items-c never offered items-center: the server's replace range covers the whole class, but the client filtered on the last word segment (c), and CodeMirror matches a one-character pattern only at a label's start. Typing - also closed the popup and re-queried. The completion now starts where the servers' single-token replace ranges start when they reach back over hyphens (the most common start wins), and the list stays valid across - while an option still starts with the typed text. Other punctuation, and lists with no option continuing the hyphen, re-query as before. CSS properties (background-c → background-color) benefit too.

Closes #6462

Co-authored-by: FForFachriza <[email protected]>
2026-11-27 19:51:26 +08:00
..
2026-10-22 18:55:10 +08:00