diff --git a/src/vs/editor/contrib/suggest/suggestWidget.ts b/src/vs/editor/contrib/suggest/suggestWidget.ts index b00dea5fb7bc6..21c6620acc1cc 100644 --- a/src/vs/editor/contrib/suggest/suggestWidget.ts +++ b/src/vs/editor/contrib/suggest/suggestWidget.ts @@ -329,7 +329,6 @@ export class SuggestWidget implements IContentWidget, IListVirtualDelegate { @@ -429,7 +427,7 @@ export class SuggestWidget implements IContentWidget, IListVirtualDelegate 'option', getAriaLabel: (item: CompletionItem) => { const textLabel = typeof item.completion.label === 'string' ? item.completion.label : item.completion.label.name; - if (item.isResolved && this.expandDocsSettingFromStorage()) { + if (item.isResolved && this._isDetailsVisible()) { const { documentation, detail } = item.completion; const docs = strings.format( '{0}{1}', @@ -499,7 +497,7 @@ export class SuggestWidget implements IContentWidget, IListVirtualDelegate