Файли
openidea/src
LU XIANGRUIтаwildcatDownstairs ea29339b6b feat(css): complete var(--…) custom properties from the whole project (#6043)
var(-- completion offered only the custom properties of the current stylesheet, because the CSS language server sees one file. The project index now stores each --name declaration's value, and a web_css_variables command returns the document's own declarations (from its unsaved text) followed by the index's. The editor uses it for completion inside var( (document's own first, value in the type column, a swatch for colors), hover and Go to Declaration across CSS, SCSS, Less and <style> blocks.

Also keeps the fallback doc comment on fallback() in completion.ts.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-27 01:27:56 +08:00
..
2026-10-22 18:55:10 +08:00