I am trying to see if there is a way to "completely" clear the console in RubyMine (or any other JetBrains IDE like WebStorm or PhpStorm).
I've seen an answer for this question: RubyMine any way to clear the inbuilt console.
Unfortunately, that doesn't really clear the console, it just moves the console window so that the current line is at the top of the screen. Pretty much like "clear" does in Linux.
Sometimes, I run a command that has a lot of information display in the console and I want to see the first thing that it said, but when the console clears this way, I find that I can lose where I stated the command within all the junk that gets printed before and afterwards.
I would prefer something like reset
in Linux or cls
in Windows that actually clears the console, but these seem to have the same effect as clear when I'm in RubyMine
So far, the only thing I've found to do is hit the "plus" on the left side and open a new console window, but I find that a bit tedious.
I'm using this in Ubuntu, if that makes a difference, but I believe I've experienced the same issues in Windows as well.
on the title bar of the Terminal tool window and clear the Run Commands using IDE option. Alternatively, open the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Tools | Terminal, and clear the Run Commands using IDE checkbox.
Press Ctrl+L in the built-in terminal in IDE. It clears the terminal.
A common way to do that is to use the `clear` command, or its keyboard shortcut CTRL+L.
Right click and select Clear buffer
or just press Ctrl + K when the console is focused.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With