Skip to content

cssCompletion

cssCompletion(classes?, variables?): CompletionSource

Defined in: extensions/autocomplete/css/index.ts:54

Completion source for CSS that adds completion for HTML tags, pseudo-elements, pseudo-classes, classes, CSS variables, at-rules, CSS properties and property values. Requires the css-extras grammar and bracket matching extension to work correctly.

Iterable<string, any, any>

List of class names that should be completed even if they’re not found in the editor. Each string must be prefixed with ..

Iterable<string, any, any>

List of CSS variables that should be completed even if they’re not found in the editor. Each string must be prefixed with --.

CompletionSource

A completion source.