IntelliJ IDEA:将EOF符号发送到Java应用程序 [英] IntelliJ IDEA: send EOF symbol to Java application
本文介绍了IntelliJ IDEA:将EOF符号发送到Java应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从IntelliJ IDEA运行命令行Java应用程序时,是否可以将EOF符号发送到等待输入的程序?在控制台中,可以使用ctrl-d组合来完成此操作,但在IDEA中不起作用。
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.
推荐答案
已实现,请使用在Mac上为Ctrl + D /⌘+ D。 https://www.jetbrains.com/idea/help/debug-tool-window- console.html
It's been implemented, use Ctrl+D / ⌘+D on Mac. https://www.jetbrains.com/idea/help/debug-tool-window-console.html
这篇关于IntelliJ IDEA:将EOF符号发送到Java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文