TrailingSpacesRemoverOnTypeFormattingEditSupplier

Formatter that removes a single trailing space at the end of the previous line when the user types a newline, but keeps double (or more) spaces which are significant in Markdown for hard line breaks.

Constructors

constructor()

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.