TextDocumentWillSaveEvent class
An event that is fired when a {@link TextDocumentdocument} will be saved.
To make modifications to the document before it is being saved, call the {@linkcode TextDocumentWillSaveEvent.waitUntilwaitUntil}-function with a thenable that resolves to an array of {@link TextEdittext edits}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- TextDocumentWillSaveEvent({TextDocument? document, TextDocumentSaveReason? reason})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited