formulahendry / formulahendry/vscode-code-runner
Is there a reason for the trailing newline in the Output panel?
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
Why add a trailing newline after the Code Runner footer? It just seems to take up space. For example, if the contents of the Output panel overflow, the blank line will always be shown and never the first line. That's OK if it's just the Code Runner header that's hidden, but if I need to make sure I didn't miss any output from my code, then I need to scroll up or resize the panel.

So why don't we get rid of the extra blank line?
---
Here's the code that does it:
https://github.com/formulahendry/vscode-code-runner/blob/de0dc89a442b37c4f90cdb66d7ad4bf8da949564/src/codeManager.ts#L493
---
BTW, Code Runner also adds a trailing newline after the command output, which I'm totally fine with. That makes sense in case the command didn't add a trailing newline itself.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.