provideOnTypeFormattingEdits property
FutureOr<List<TextEdit> > Function(TextDocument, Position, String, FormattingOptions, CancellationToken)
get
provideOnTypeFormattingEdits
Implementation
_i4.FutureOr<_i2.List<_i3.TextEdit>> Function(
_i3.TextDocument,
_i3.Position,
_i2.String,
_i3.FormattingOptions,
_i3.CancellationToken,
) get provideOnTypeFormattingEdits => (
_i3.TextDocument p0,
_i3.Position p1,
_i2.String p2,
_i3.FormattingOptions p3,
_i3.CancellationToken p4,
) =>
_i5.callMethod(
_i5.getProperty(
this,
'provideOnTypeFormattingEdits',
),
r'call',
[
this,
p0,
p1,
p2,
p3,
p4,
],
);
set
provideOnTypeFormattingEdits
(FutureOr<List<TextEdit> > value(TextDocument, Position, String, FormattingOptions, CancellationToken))
Implementation
set provideOnTypeFormattingEdits(
_i4.FutureOr<_i2.List<_i3.TextEdit>> Function(
_i3.TextDocument,
_i3.Position,
_i2.String,
_i3.FormattingOptions,
_i3.CancellationToken,
) value) {
_i5.setProperty(
this,
'provideOnTypeFormattingEdits',
_i5.allowInterop((
p0,
p1,
p2,
p3,
p4,
) =>
_i6.Promise.futureOr(() => value(
p0,
p1,
p2,
p3,
p4,
))),
);
}