提交 895d6323 编写于 作者: K Kamran Ayub

Add CompletionItem.deprecated property from LSP

上级 b71363ff
...@@ -396,6 +396,10 @@ export interface CompletionItem { ...@@ -396,6 +396,10 @@ export interface CompletionItem {
* an icon is chosen by the editor. * an icon is chosen by the editor.
*/ */
kind: CompletionItemKind; kind: CompletionItemKind;
/**
* Indicates if this item is deprecated.
*/
deprecated?: boolean;
/** /**
* A human-readable string with additional information * A human-readable string with additional information
* about this item, like type or symbol information. * about this item, like type or symbol information.
......
...@@ -4790,6 +4790,10 @@ declare namespace monaco.languages { ...@@ -4790,6 +4790,10 @@ declare namespace monaco.languages {
* an icon is chosen by the editor. * an icon is chosen by the editor.
*/ */
kind: CompletionItemKind; kind: CompletionItemKind;
/**
* Indicates if this item is deprecated.
*/
deprecated?: boolean;
/** /**
* A human-readable string with additional information * A human-readable string with additional information
* about this item, like type or symbol information. * about this item, like type or symbol information.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册