提交 53006c0a 编写于 作者: J Johannes Rieken

Revert "Add deprecated support to SuggestDataDto"

This reverts commit 87ae3a38.
上级 4882ae5b
...@@ -1277,13 +1277,6 @@ declare module 'vscode' { ...@@ -1277,13 +1277,6 @@ declare module 'vscode' {
//#region Deprecated support //#region Deprecated support
export interface CompletionItem {
/**
* Indicates if this item is deprecated.
*/
deprecated?: boolean;
}
export enum DiagnosticTag { export enum DiagnosticTag {
/** /**
* Deprecated or obsolete code * Deprecated or obsolete code
......
...@@ -341,7 +341,6 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha ...@@ -341,7 +341,6 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
commitCharacters: data.k, commitCharacters: data.k,
additionalTextEdits: data.l, additionalTextEdits: data.l,
command: data.m, command: data.m,
deprecated: data.n,
// not-standard // not-standard
_id: data.x, _id: data.x,
}; };
......
...@@ -937,7 +937,6 @@ export interface SuggestDataDto { ...@@ -937,7 +937,6 @@ export interface SuggestDataDto {
k/* commitCharacters */?: string[]; k/* commitCharacters */?: string[];
l/* additionalTextEdits */?: ISingleEditOperation[]; l/* additionalTextEdits */?: ISingleEditOperation[];
m/* command */?: modes.Command; m/* command */?: modes.Command;
n/* deprecated */?: boolean;
// not-standard // not-standard
x?: ChainedCacheId; x?: ChainedCacheId;
} }
......
...@@ -736,7 +736,6 @@ class SuggestAdapter { ...@@ -736,7 +736,6 @@ class SuggestAdapter {
k: item.commitCharacters, k: item.commitCharacters,
l: item.additionalTextEdits && item.additionalTextEdits.map(typeConvert.TextEdit.from), l: item.additionalTextEdits && item.additionalTextEdits.map(typeConvert.TextEdit.from),
m: this._commands.toInternal(item.command, disposables), m: this._commands.toInternal(item.command, disposables),
n: item.deprecated
}; };
// 'insertText'-logic // 'insertText'-logic
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册