Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Completely clear the console in RubyMine (or WebStorm or PhpStorm)

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.

like image 338
IngageStroliaC Avatar asked Apr 15 '15 13:04

IngageStroliaC


People also ask

How do I clear the console in Webstorm?

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.

How do I clear the console in IntelliJ?

Press Ctrl+L in the built-in terminal in IDE. It clears the terminal.

How do I clear the Terminal screen?

A common way to do that is to use the `clear` command, or its keyboard shortcut CTRL+L.


1 Answers

Right click and select Clear buffer or just press Ctrl + K when the console is focused.

like image 64
Darek Kay Avatar answered Oct 21 '22 02:10

Darek Kay