James Ford
James Ford

Reputation: 1563

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?

Upvotes: 58

Views: 157379

Answers (10)

Tam Nguyen
Tam Nguyen

Reputation: 19

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

Upvotes: -1

Marcio
Marcio

Reputation: 151

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.

Upvotes: 2

NoraT
NoraT

Reputation: 81

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

Upvotes: 1

ROMANIA_engineer
ROMANIA_engineer

Reputation: 56724

IntelliJ IDEA 14 & 15 & 2017:

View > Tool Windows > Terminal

or

Alt + F12

enter image description here enter image description here

Upvotes: 77

Vic.Liu
Vic.Liu

Reputation: 459

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

Upvotes: 29

Priyanshu Singh
Priyanshu Singh

Reputation: 714

View>Tool Windows>Run

It will show you the console

Upvotes: 8

Yahoo
Yahoo

Reputation: 49

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

enter image description here

Upvotes: 4

Max
Max

Reputation: 41

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

enter image description here

enter image description here

Upvotes: 3

gotomanners
gotomanners

Reputation: 7926

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

Upvotes: 17

CrazyCoder
CrazyCoder

Reputation: 402543

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.

Upvotes: 5

Related Questions