mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-14 01:34:20 +01:00
Check for newline instead of an arbitrary length for showing hover hint (#204873)
This should show the hint less in scenarios where we don't need it.
This commit is contained in:
@@ -1283,7 +1283,7 @@ export class QuickInputHoverDelegate implements IHoverDelegate {
|
||||
: typeof options.content === 'string'
|
||||
? options.content
|
||||
: options.content.value
|
||||
).length > 20;
|
||||
).includes('\n');
|
||||
return this.hoverService.showHover({
|
||||
...options,
|
||||
persistence: {
|
||||
|
||||
Reference in New Issue
Block a user