diff --git a/vscode-dotty/src/worksheet.ts b/vscode-dotty/src/worksheet.ts index 9962598b3e74..b63a5f04f951 100644 --- a/vscode-dotty/src/worksheet.ts +++ b/vscode-dotty/src/worksheet.ts @@ -156,7 +156,7 @@ class Worksheet implements Disposable { hoverMessage: new vscode.MarkdownString().appendCodeblock(runResult) } const decorationMargin = this.margin - line.text.length - const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden>` : "") + const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden, hover to see full output>` : "") const decorationType = this.createDecoration(decorationMargin, decorationText) const decoration = new Decoration(decorationType, decorationOptions) this.decorations.push(decoration)