mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
CompletionItemLabel#label -> name
This commit is contained in:
@@ -859,7 +859,7 @@ class SuggestAdapter {
|
||||
private _convertCompletionItem(item: vscode.CompletionItem, position: vscode.Position, id: extHostProtocol.ChainedCacheId): extHostProtocol.ISuggestDataDto | undefined {
|
||||
const label = typeof item.label === 'string'
|
||||
? item.label
|
||||
: item.label.label;
|
||||
: item.label.name;
|
||||
|
||||
if (typeof label !== 'string' || label.length === 0) {
|
||||
this._logService.warn('INVALID text edit -> must have at least a label');
|
||||
|
||||
@@ -1352,7 +1352,7 @@ export enum CompletionItemTag {
|
||||
}
|
||||
|
||||
export interface CompletionItemLabel {
|
||||
label: string;
|
||||
name: string;
|
||||
// description?: string;
|
||||
details?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user