mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
💄
This commit is contained in:
@@ -782,9 +782,6 @@ export interface SelectedSuggestionInfo {
|
||||
}
|
||||
|
||||
export interface InlineCompletion {
|
||||
|
||||
readonly filterText?: string;
|
||||
|
||||
/**
|
||||
* The text to insert.
|
||||
* If the text contains a line break, the range must end at the end of a line.
|
||||
@@ -795,6 +792,12 @@ export interface InlineCompletion {
|
||||
*/
|
||||
readonly insertText: string | { snippet: string };
|
||||
|
||||
/**
|
||||
* A text that is used to decide if this inline completion should be shown.
|
||||
* An inline completion is shown if the text to replace is a subword of the filter text.
|
||||
*/
|
||||
readonly filterText?: string;
|
||||
|
||||
/**
|
||||
* The range to replace.
|
||||
* Must begin and end on the same line.
|
||||
|
||||
Reference in New Issue
Block a user