Page 1 of 1

Vscode : compile warnings disappear from terminal window

Posted: Fri Jun 26, 2026 6:40 pm
by mikeselectricstuff
New to VSCode, slowly getting there but can't figure this out...
During build, you see all the compiler warnings etc. scrolling up the terminal window, but when it completes successfully, the window gets cleared, and just shows the memory usage summary.

How do I either get back to the warnings produced during compile, or stop it clearing the terminal window when it's done ?

Re: Vscode : compile warnings disappear from terminal window

Posted: Mon Jun 29, 2026 6:01 am
by kondalkolipaka
Hello,

As this happens because it was switching from the build task to the size task terminal internally.

VSCode has inbuilt support for switching terminals.

Code: Select all

Windows / Linux: Press Ctrl + PageUp (previous) or Ctrl + PageDown (next).
macOS: Press Cmd + Shift + ] (previous) or Cmd + Shift + [ (next)
Screenshot 2026-06-29 at 11.29.26 AM.png
Screenshot 2026-06-29 at 11.29.26 AM.png (279.97 KiB) Viewed 40 times