CompletionConfig

data class CompletionConfig(val activateOnTyping: Boolean = true, val selectOnOpen: Boolean = true, val closeOnBlur: Boolean = true, val maxRenderedOptions: Int = 100, val icons: Boolean = true, val defaultKeymap: Boolean = true, val override: List<CompletionSource>? = null)

Configuration for the autocompletion extension.

Parameters

activateOnTyping

Whether to show completions as the user types.

selectOnOpen

Whether to select the first completion on open.

closeOnBlur

Whether to close the completion list when the editor loses focus.

maxRenderedOptions

Maximum number of options to render at once.

icons

Whether to show type icons next to completions.

override

Optional override completion sources that replace the defaults.

Constructors

Link copied to clipboard
constructor(activateOnTyping: Boolean = true, selectOnOpen: Boolean = true, closeOnBlur: Boolean = true, maxRenderedOptions: Int = 100, icons: Boolean = true, defaultKeymap: Boolean = true, override: List<CompletionSource>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard