getEdits

open override fun getEdits(params: DocumentOnTypeFormattingParams, document: TextDocument): List<TextEdit>

Provides text edits for on-type formatting based on the given parameters and document.

Return

a list of text edits to apply to the document

Parameters

params

the parameters for the on-type formatting request

document

the text document to format