• 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

    • Optional classes: Iterable<string>

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

    • Optional variables: Iterable<string>

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

    Returns CompletionSource

    A completion source.

Generated using TypeDoc