InlineCompletionItem class
An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- InlineCompletionItem(Object insertText, [Range? range, Command? command])
-
factory
Properties
- command ↔ Command
-
Available on InlineCompletionItem, provided by the InlineCompletionItem$Typings extension
An optional {@link Command} that is executed after inserting this completion.getter/setter pair - filterText ↔ String
-
Available on InlineCompletionItem, provided by the InlineCompletionItem$Typings extension
A text that is used to decide if this inline completion should be shown. Whenfalsy
the {@link InlineCompletionItem.insertText} is used.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- insertText ↔ Object
-
Available on InlineCompletionItem, provided by the InlineCompletionItem$Typings extension
The text to replace the range with. Must be set. Is used both for the preview and the accept operation.getter/setter pair - range ↔ Range
-
Available on InlineCompletionItem, provided by the InlineCompletionItem$Typings extension
The range to replace. Must begin and end on the same line.getter/setter pair - 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