Why doesn't IntelliJ provide support for input redirect?

Answered

As I'm relearning more Java, and switching from other IDEs to IntelliJ, I have spent a long time trying to figure out how to run the most basic command in Java: java myclass < input.txt, but I realized that IntelliJ does not support this, and the alternatives are to modify our code to run either with no arguments or with a filename argument.

But people doing school hw, assignments and projects have to modify every application to test it, and then modify it again to submit it, is this not silly? I'm curious since this seems like a very simple feature to support, why is intelliJ not doing it? 

Am I missing something?

0
1 comment

Pipes and input/output redirection is a feature of the terminal application. IntelliJ IDEA is not a terminal, hence it lacks this feature.

Feel free to vote for this request: https://youtrack.jetbrains.com/issue/IDEA-140121.

0

Please sign in to leave a comment.