Skip to content

Commit

Permalink
fix #105999
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Sep 9, 2020
1 parent e516bf3 commit b1b2e09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3820,13 +3820,24 @@ declare module 'vscode' {
* A string that should be used when comparing this item
* with other items. When `falsy` the [label](#CompletionItem.label)
* is used.
*
* Note that `sortText` is only used for the initial ordering of completion
* items. When having a leading word (prefix) ordering is based on how
* well completion match that prefix and the initial ordering is only used
* when completions match equal. The prefix is defined by the
* [`range`](#CompletionItem.range)-property and can therefore be different
* for each completion.
*/
sortText?: string;

/**
* A string that should be used when filtering a set of
* completion items. When `falsy` the [label](#CompletionItem.label)
* is used.
*
* Note that the filter text is matched against the leading word (prefix) which is defined
* by the [`range`](#CompletionItem.range)-property.
* prefix.
*/
filterText?: string;

Expand Down

0 comments on commit b1b2e09

Please sign in to comment.