Skip to content

Commit 0b240bc

Browse files
authored
fallback to widget hover content if no markdown hover content found (microsoft#213932)
fix microsoft#213931
1 parent c702301 commit 0b240bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/hover/browser/hoverAccessibleViews.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export class HoverAccessibleViewProvider extends BaseHoverAccessibleViewProvider
202202

203203
public provideContent(): string {
204204
const hoverContent = this._hoverController.markdownHoverContentAtIndex(this._markdownHoverFocusedIndex);
205-
return hoverContent.length > 0 ? hoverContent : HoverAccessibilityHelpNLS.intro;
205+
return hoverContent.length > 0 ? hoverContent : this._hoverController.getWidgetContent() || HoverAccessibilityHelpNLS.intro;
206206
}
207207

208208
public get actions(): IAction[] {

0 commit comments

Comments
 (0)