How / can I display a console window in Intellij IDEA?
Intellij IdeaIntellij Idea Problem Overview
Is it possible to have a console window / command-line interface as part of the Intellij IDEA UI? I'd rather go command-line for certain actions, like working with GIT or kicking off build-processes, but at the moment that means keeping a separate console window open and alt-tabbing.
Is there some form of integrated console? And even better than that, can it automatically point at my project root by default?
Intellij Idea Solutions
Solution 1 - Intellij Idea
IntelliJ IDEA 14 & 15 & 2017:
View > Tool Windows > Terminal
or
Alt + F12
Solution 2 - Intellij Idea
In IntelliJ IDEA 2016.1.1:
- View->Tool Windows->Debug (Alt+5)
- on top right of Debug Window, click "Restore Console View" which is only show a icon like below:
Solution 3 - Intellij Idea
More IntelliJ 13+ Shortcuts for Terminal
Mac OS X:
alt ⌥F12
cmd ⌘shift ⇧A then type Terminal
then hit Enter
shift ⇧shift ⇧shift ⇧shift ⇧ then type Terminal
then hit Enter
Windows:
altF12 press Enter
ctrlshift ⇧A start typing Terminal
then hit Enter
shift ⇧shift ⇧ then type Terminal
then hit Enter
Solution 4 - Intellij Idea
View>Tool Windows>Run
It will show you the console
Solution 5 - Intellij Idea
UPDATE: Console/Terminal feature was implemented in IDEA 13, PyCharm 3, RubyMine 6, WebStorm/PhpStorm 7.
There is a related feature request, please vote. Setting up an external tool to run a terminal can be used as a workaround.
Solution 6 - Intellij Idea
Solution 7 - Intellij Idea
Solution 8 - Intellij Idea
I use Shift + F12 to show the Console again (or Window > Restore Default Layout).
To enable that, I have previously saved the layout WITH the console open as default (Window > Store Current Layout as Default).
Solution 9 - Intellij Idea
IntelliJ IDEA 2018.3.6
Using macOS Mojave Version 10.14.4 and pressing ⌥F12(Alt+F12) will open Sound preferences.
A solution without changing the current keymap is to use the command above with the key fn.
fn ⌥ F12(fn+Alt+F12) will open the Terminal. And you can use ShiftEsc to close it.