LineContinuationAutoIndentOnTypeFormattingEditSupplier
Formatter that, when the user presses Enter after a line ending with \ (line continuation) inside a function call, inserts indentation on the new line to align with the first argument.
For example, given:
.container alignment:{center} \Content copied to clipboard
After pressing Enter, the new line is indented to:
.container alignment:{center} \
<cursor here>Content copied to clipboard
Functions
Link copied to clipboard
open override fun getEdits(params: DocumentOnTypeFormattingParams, document: TextDocument): List<TextEdit>
Provides text edits for on-type formatting based on the given parameters and document.