Package-level declarations
Types
Link copied to clipboard
data class HtmlCompletionConfig(val extraTags: Map<String, TagSpec>? = null, val extraGlobalAttributes: Map<String, List<String>?>? = null)
Configuration for htmlCompletionSourceWith.
Link copied to clipboard
class HtmlSchema(extraTags: Map<String, TagSpec>? = null, extraAttrs: Map<String, List<String>?>? = null)
An HTML completion schema that knows about valid tags, their attributes, and attribute values. Can be extended with extra tags and attributes via HtmlCompletionConfig.
Link copied to clipboard
Properties
Link copied to clipboard
Extension that automatically inserts close tags when > or / is typed in an HTML document.
Link copied to clipboard
HTML tag completion source. Opens and closes tags and attributes in a context-aware way.
Link copied to clipboard
A language provider based on the Lezer HTML parser, extended with highlighting and indentation information.
Functions
Link copied to clipboard
fun html(config: HtmlCompletionConfig = HtmlCompletionConfig(), selfClosingTags: Boolean = true): LanguageSupport
HTML language support with autocompletion and auto-closing tags.
Link copied to clipboard
fun htmlCompletionSourceWith(config: HtmlCompletionConfig = HtmlCompletionConfig()): CompletionSource
Create a completion source for HTML extended with additional tags or attributes.