Hide the initial java command in run window?

已回答

Is this possible, i.e. hiding the java [-options] class [args...] that is displayed on top, before standard output etc is printed out?  

0

Check the console folding options, java command should be already folded by default:

1

Ok, but no entries have been added/removed in "fold console line". The line does fold when I use Oracle jdk 8 but when I use open-jdk-11 it doesn't. Anyhow, I just added "/home" as a new entry and it now it folds. :) 

Folds like normal with Oracle jdk 8:

 

After I switch to open-jdk-11 and run the same program, it looks like this. Still, it works fine after adding "/home" as an entry. 

0

Command line is not folded by default if its length is less than 1000 chars. You can add a folding option for idea_rt.jar so that it doesn't depend on the project path in /home.

1

Oh, I see, thank you!

0

请先登录再写评论。