In order to get a reference to a Console in Java, one needs to write
Console console = System.console();
However, when trying to do this in an IDE, console will be initialized with null. Why is there no Console in an IDE? What was the thought process in allowing Consoles to exist while running the program directly from the terminal as opposed to running the program in an IDE?