提交 df3983ff 编写于 作者: K Kamran Ayub 提交者: Johannes Rieken

Add CompletionItem.deprecated property from LSP

上级 8213baf0
...@@ -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.
......
...@@ -4799,6 +4799,10 @@ declare namespace monaco.languages { ...@@ -4799,6 +4799,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.
先完成此消息的编辑!
想要评论请 注册