Consider 2 Terminal Tabs in Intellij:
Intellij has shortcuts to move Terminal tabs left and right:
A more common operation is simply to navigate between the Terminal Tabs. But I could not find any such shortcut. Is there a way to do this via the keyboard?
Update In response to #PetrRastegaev's suggestion to use the Window|Editor Tabs|Goto Next/Previous Splitter: they are not enabled :
Related
Using Zerobrane, are there any defined hotkeys or keymaps that will jump between panes within the IDE? Like, some key to jump between several files open as tabs (jump between tabs). Another is jumping from editor tab pane over to the project pane, etc...
To jump between tabs you can you Ctrl-PgUp/PgDn or Ctrl-(Shift-)Tab. Also, Ctrl-P will open a command panel with the list of currently open files, and after selecting a file from the list press Enter to jump to the tab with that file.
Jumping to Project tab and Console is not available, but moving between tabs there can be done using the same Ctrl-PgUp/PgDn combination. I'll consider adding some hotkey to move between open panes.
Update 7/13: Something like this may work as a simple workaround (add to the IDE config file as Edit > Preferences > Settings: User):
ide:SetHotKey(function()ide:GetProjectTree():SetFocus()end, "Ctrl-Alt-P")
ide:SetHotKey(function()ide:GetOutlineTree():SetFocus()end, "Ctrl-Alt-O")
Other panes (Output/GetOutput(), Console/GetConsole(), etc.) can be done in a similar way.
I have several debug tabs in Intelij IDEA:
If I push Ctrl+Tab IDEA suggests me to open another opened files.
Is there any hotkey to switch between debug tabs?
It should be Alt + Left / Right. And it works in any window which has tabs (Project View, Editor, terminal, etc.)
You can see it in Settings -> Keymap then Main menu -> Window -> Editor Tabs: Select Previous/Next Tab
Is there any default keyboard shortcut to close all tabs except the active one? It can be done by right-clicking the tab and choosing Close Others but I'd like to do this using only my keyboard.
ctrl+shift+a and write Close Others. Select the one with Editor Close Actions.
Or assign it your own shortcut.
Open Settings > Keymap. Search for Close others (or find it under Main menu > Window > Editor tabs.
It's not possible to access the tab context menu using the keyboard.
There's an open issue against IntelliJ for this.
Their suggestion is to add that action (tab > close others) to a quick list and you can then invoke the quick list action via a keyboard shortcut.
I love intellij's file tab but I can't seem to find a way to shortcut closing a tab similar to the behavior of ctrl + w in chrome. I can't find the option in the keymap editor. Am I missing something or is this not implemented?
I found this page but it doesn't include the action name. I would use ctrl + f4 but my window manager has that reserved and I would rather change it.
Open Settings by hitting Ctrl+Alt+S
Click: Keymap
Search for: Close
Under Main menu > Window > Editor Tabs, find Close.
Right-click and click Remove Ctrl+F4.
Right click and click Add Keyboard Shortcut
Add your new custom Keyboard Shortcut.
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4 mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
Current tab can be closed with:
Ctrl + F4
Works on Intellij Ultimate 2016.3
On mac OS, Intellij 2018.3 version, 'Command + W' does close the file tab.
As we can see in the image in this discussion:
Go in Settings >> Keymap >> Main menu >> Other >> [Close Active Editor] and change to Ctrl+W.
I'm on version 2020.1 and this has changed to Ctrl+4
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 14 & 15 & 2017:
View > Tool Windows > Terminal
or
Alt + F12
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:
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
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.
Hover to the sidebar and select the "Restore visual elements of debugger..."
Press the left corner button
Choose debug
Click console
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).
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.
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