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.
Parameters
Section titled “Parameters”classes?
Section titled “classes?”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 ..
variables?
Section titled “variables?”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 --.
Returns
Section titled “Returns”A completion source.