Skip to content

Commit 4da13cb

Browse files
authored
Merge pull request #5605 from dotty-staging/worksheet-clarifiy-output
worsksheet: clarify where the hidden output is
2 parents 7c8dee5 + 56a7371 commit 4da13cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode-dotty/src/worksheet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class Worksheet implements Disposable {
156156
hoverMessage: new vscode.MarkdownString().appendCodeblock(runResult)
157157
}
158158
const decorationMargin = this.margin - line.text.length
159-
const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden>` : "")
159+
const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden, hover to see full output>` : "")
160160
const decorationType = this.createDecoration(decorationMargin, decorationText)
161161
const decoration = new Decoration(decorationType, decorationOptions)
162162
this.decorations.push(decoration)

0 commit comments

Comments
 (0)