Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clearing console in Intellij-idea

Could anyone tell me if it's possible to clear console in intellij-idea and how?

So far I have tried:

System.out.print("\033[H\033[2J");
System.out.flush();

and:

Runtime.getRuntime().exec("clear");

but any of those did work.

I'm using Intellij-idea ultimate 2017 2.4 and Linux Mint.

like image 296
stilltryingbutstillsofar Avatar asked Sep 15 '17 14:09

stilltryingbutstillsofar


1 Answers

Use Grep Console plugin for clearing it when it matches some output.

like image 110
Meo Avatar answered Oct 05 '22 06:10

Meo