IntelliJ IDEA: send EOF symbol to Java application

Tvaroh picture Tvaroh · May 10, 2013 · Viewed 7.2k times · Source

When running a command-line Java application from IntelliJ IDEA, is it possible to send EOF symbol to the program awaiting input? In console this can be done using ctrl-d combination but in IDEA it doesn't work.

Answer

Pavel picture Pavel · Jun 10, 2015

It's been implemented, use Ctrl+D / ⌘+D on Mac. https://www.jetbrains.com/idea/help/debug-tool-window-console.html