Skip to content

Commit 56a7371

Browse files
committed
worsksheet: clarify where the hidden output is
I've had two students ask me about this already, so I guess it's not as intuitive as I thought :).
1 parent 2b95357 commit 56a7371

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)