Read-Only for Console

Answered

Why is my output console only in read-only mode, and how do I change it to accept user inputs?

0
1 comment

Hello Biswas Ariyan12 

It depends on which console you are looking at and how you are running your program. In IntelliJ-based IDEs, most consoles are read-only, such as build output, test runners, log consoles, many debugger consoles, etc. While consoles accepting input can be started by Run Configuration (e.g. Java “Application” run config, Python “Script” run config, etc.) and the built-in Terminal running your program from the command line.

If you see “This view is read-only” when you try to type, that usually means you’re in a non-interactive console (build/test/log/debugger) or in the wrong tab of a tool window. Switch to:

  • Run tool window for an Application run configuration, or
  • Terminal for a fully interactive shell. 

I hope this helps!

0

Please sign in to leave a comment.