[intellij-idea] How / can I display a console window in Intellij IDEA?

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?

This question is related to intellij-idea

The answer is


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).


On IntelliJ IDEA 2020.2.1

Click on the tab that you want to open as window mode.

Right-click on the tab name and select View mode > Window

As this image


IntelliJ IDEA 14 & 15 & 2017:

View > Tool Windows > Terminal

or

Alt + F12

enter image description here enter image description here


Hover to the sidebar and select the "Restore visual elements of debugger..."

enter image description here


In IntelliJ IDEA 2016.1.1:

  1. View->Tool Windows->Debug (Alt+5)
  2. on top right of Debug Window, click "Restore Console View" which is only show a icon like below:

Restore Console View


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.


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


View>Tool Windows>Run

It will show you the console


  1. Press the left corner button
  2. Choose debug
  3. Click console

enter image description here

enter image description here