Merge from vscode e558dc6ea73a75bd69d7a0b485f0e7e4194c66bf (#6864)

This commit is contained in:
Anthony Dresser
2019-08-21 20:44:59 -07:00
committed by GitHub
parent d2ae0f0154
commit 985bfae8a0
107 changed files with 2260 additions and 814 deletions

View File

@@ -367,6 +367,10 @@ export let completionKindFromString: {
};
})();
export const enum CompletionItemKindModifier {
Deprecated = 1
}
export const enum CompletionItemInsertTextRule {
/**
* Adjust whitespace/indentation of multiline insert texts to
@@ -396,6 +400,11 @@ export interface CompletionItem {
* an icon is chosen by the editor.
*/
kind: CompletionItemKind;
/**
* A modifier to the `kind` which affect how the item
* is rendered, e.g. Deprecated is rendered with a strikeout
*/
kindModifier?: CompletionItemKindModifier;
/**
* A human-readable string with additional information
* about this item, like type or symbol information.
@@ -464,7 +473,7 @@ export interface CompletionItem {
/**
* @internal
*/
[key: string]: any;
_id?: [number, number];
}
export interface CompletionList {