Clearing console in Intellij-idea

前端 未结 2 1584
离开以前
离开以前 2021-02-09 10:11

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.         


        
相关标签:
2条回答
  • 2021-02-09 10:47

    I don't believe you can, think of that window as a log file.

    BTW, why would you want to clear that?

    0 讨论(0)
  • 2021-02-09 10:53

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

    0 讨论(0)
提交回复
热议问题