I want my first line at the top of the console to look like this:
but mine looks like this and its so loooong
how can I shorten it to like the first picture? ;-;
Im watching Java tutorials on youtube and their first lines ("C:\programs Files\Java\jdk\whatever"...) are always so short and pretty with 3 cute dots in the end... but mine is long asf and it goes on for days and its annoying.
basically: "8==================================D" to "8=D"... HOW?! >:(
CodePudding user response:
You can define the lines which should be folded:
- Right click on that line in the console
- Choose "Fold Lines Like This"
- Click OK
You can also define special keywords/phrases in this menu, where lines, which contains the phrase will be folded with ellipsis (...) at the end.
CodePudding user response:
See the ConsoleViewImpl.java file in the source code of IntelliJ IDEA
This line (execution command) will be automatically hidden in case the string length is more than 1000 symbols.
So, once you add something to the execution command (for example by adding libraries), the execution command is folded automatically.