How / can I display a console window in Intellij IDEA?

Intellij Idea

Intellij 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

enter image description here enter image description here

Solution 2 - Intellij Idea

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

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

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

enter image description here

Solution 7 - Intellij Idea

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

enter image description here

enter image description here

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.

Solution 10 - Intellij Idea

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJames FordView Question on Stackoverflow
Solution 1 - Intellij IdeaROMANIA_engineerView Answer on Stackoverflow
Solution 2 - Intellij IdeaVic.LiuView Answer on Stackoverflow
Solution 3 - Intellij IdeagotomannersView Answer on Stackoverflow
Solution 4 - Intellij IdeaPriyanshu SinghView Answer on Stackoverflow
Solution 5 - Intellij IdeaCrazyCoderView Answer on Stackoverflow
Solution 6 - Intellij IdeaYahooView Answer on Stackoverflow
Solution 7 - Intellij IdeaMaxView Answer on Stackoverflow
Solution 8 - Intellij IdeaNoraTView Answer on Stackoverflow
Solution 9 - Intellij IdeaMarcioView Answer on Stackoverflow
Solution 10 - Intellij IdeaTam NguyenView Answer on Stackoverflow