How can I increase the update rate of the internal console ?

Answered

I have noticed that the internal console of IntelliJ IDEA (where the output of my code is printed) only updates it's content every 333ms. Is there a way to increase this frequency? Or alternatively, use an external console ? I wish it to be as responsive as the one in Rider

2
3 comments

How did you measure the update rate of the console? Could you please share your benchmark so that we can reproduce the issue and investigate it further? Thank you.

As for running in the terminal, there is an existing feature request you can vote for: https://youtrack.jetbrains.com/issue/IDEA-98471 .

Running your app in external console is possible via the external tools: https://stackoverflow.com/a/41150081/104891 .

0

Rider console is based on the Terminal, while IntelliJ IDEA Run console uses the editor, so these are different console implementations.

You can change IntelliJ IDEA run console flush delay via Help | Edit Custom VM Options by adding this line:

-Dconsole.flush.delay.ms=100 

The default is 200. Rider Terminal console is updated each 20ms (not configurable).

Let me know if it helps.

2

I just realized I asked this a year ago and completely forgot about it. Yes, this is exactly what I was looking for, thanks!

0

Please sign in to leave a comment.