提交 b1b2e093 编写于 作者: J Johannes Rieken
上级 e516bf32
......@@ -3820,6 +3820,13 @@ 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;
......@@ -3827,6 +3834,10 @@ declare module 'vscode' {
* 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册