mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
make expandable hover true by default
This commit is contained in:
@@ -33,7 +33,7 @@ class TypeScriptHoverProvider implements vscode.HoverProvider {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const enableExpandableHover = vscode.workspace.getConfiguration('typescript').get('experimental.expandableHover');
|
||||
const enableExpandableHover = vscode.workspace.getConfiguration('typescript').get<boolean>('experimental.expandableHover', true);
|
||||
let verbosityLevel: number | undefined;
|
||||
if (enableExpandableHover && this.client.apiVersion.gte(API.v590)) {
|
||||
verbosityLevel = Math.max(0, this.getPreviousLevel(context?.previousHover) + (context?.verbosityDelta ?? 0));
|
||||
|
||||
Reference in New Issue
Block a user