How to clear the terminal of VS code?

How to clear the terminal of VS code?

In MATLAB, we have ‘clc’.

You can use ;clear (the ; invokes the shell). And then simply hit backspace to get back to the Julia REPL. Or is that not what you want?

1 Like

There is a VSCode command called Terminal: Clear that you can access from the command pallette:
image

image

You can set your own keyboard shortcut for it by clicking the settings cog on the right.

Now Ctrl+L (or whatever you set as the shortcut) will clear the active terminal (including the Julia REPL).

5 Likes