Skip to content

Commit

Permalink
Add CompletionItem.deprecated property from LSP
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranayub committed Jul 24, 2019
1 parent b71363f commit 895d632
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/editor/common/modes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,10 @@ export interface CompletionItem {
* an icon is chosen by the editor.
*/
kind: CompletionItemKind;
/**
* Indicates if this item is deprecated.
*/
deprecated?: boolean;
/**
* A human-readable string with additional information
* about this item, like type or symbol information.
Expand Down
4 changes: 4 additions & 0 deletions src/vs/monaco.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4790,6 +4790,10 @@ declare namespace monaco.languages {
* an icon is chosen by the editor.
*/
kind: CompletionItemKind;
/**
* Indicates if this item is deprecated.
*/
deprecated?: boolean;
/**
* A human-readable string with additional information
* about this item, like type or symbol information.
Expand Down

0 comments on commit 895d632

Please sign in to comment.