IntelliJ IDEA: send EOF symbol to Java application

前端 未结 2 821
甜味超标
甜味超标 2021-01-01 09:50

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 co

相关标签:
2条回答
  • 2021-01-01 10:25

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

    0 讨论(0)
  • 2021-01-01 10:43

    In Dec 2012, it was still not possible : http://devnet.jetbrains.com/thread/436131

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