diff --git a/src/vs/editor/common/modes.ts b/src/vs/editor/common/modes.ts index 01263d35836..499a54ea289 100644 --- a/src/vs/editor/common/modes.ts +++ b/src/vs/editor/common/modes.ts @@ -380,14 +380,11 @@ export interface CompletionItemLabel { // signature?: string; // parameters // The fully qualified name, like package name, file path etc // qualifier?: string; - // The return-type of a function or type of a property, variable etc - // type?: string; /** - * Details of the completion item that is rendered less - * prominent to the right. + * The return-type of a function or type of a property, variable */ - details?: string; + type?: string; } export const enum CompletionItemTag { diff --git a/src/vs/editor/contrib/suggest/suggestWidget.ts b/src/vs/editor/contrib/suggest/suggestWidget.ts index 879d3e5e114..cc6db148ce1 100644 --- a/src/vs/editor/contrib/suggest/suggestWidget.ts +++ b/src/vs/editor/contrib/suggest/suggestWidget.ts @@ -241,7 +241,7 @@ class ItemRenderer implements IListRenderer