What is the cloud9 keyboard shortcut to move between the editor tab (#1) and the terminal console (#2)?
I am aware that I can open a terminal tab and switch to it using the keyboard, but I want to see both the editor and terminal in one view.
It is ALT + S on the current version of Cloud9
To make certain keyboard shortcut work on c9.io in Chrome, which would otherwise do something else like close tab or reload page, click the menu button of Chrome > More Tools > Create Application Shortcuts....
Now the IDE is an actual program and all the default browser shortcuts are disabled. Ctrl + W (Close tab) and Ctrl + Shift + Q (Close Chrome) and F5 (Refresh) and the likes can now be used as keyboard shortcuts :)
To add on #Kronenbourg's exact answer (which IMHO should be accepted) - as of May 2015:
Shift + Esc / Esc - Goto workspace (files tree) / Exit workspace (to the last place, Editor/Terminal)
ALT + S - switch between code and terminal
In conjunction with CMD + { / CMD + }, which navigate right/left in current context (Editor, terminal) tabs, you should be able to reach anywhere with the keyboard.
Also useful in the context is CMD + O to open file.
HTH
It's Shift+ESC on open source, but unfortunately this doesn't work on c9.io.
I accidentally found out that ctrl+~ works to switch between terminal and editing window and then back. Maybe it's not the most convenient shortcut but it works.
Alt+s
This shortcut is listed in the top menu, under:
Window > Navigation
Related
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 there a way to maximize the output pane of a test?
I can't believe that I have to endure the review process of the stacktrace in this narrow pane!
There is a shortcut (ctrl-shift-up) that make the pane grow a little.
Does anybody know of a shortcut or a button to maximize the pane?
Like in eclipse for the output console (ctrl-m)
Anyway, Idea is great!
It's not possible to maximize it, please vote for the corresponding feature request:
IDEA-64469 Provide a way to view test console output maximized (like double-clicking it?)
Update
It has been implemented as described in the issue:
You can maximize/restore tool window size:
With double-click on toolwindow header
With shortcut Shift+Ctrl+' (Shift+Command+' for Mac OS X)
Via "Resize" actions group (see popup menu for tool window)
On Linux and Windows:Ctrl + Shift + Quote(')
On Mac:Command + Shift + Quote(')
With double-click on toolwindow header
Via "Resize" actions group (see popup menu for tool window)
Tested on 2016.1.1(Linux) & 2018.1.1(Linux).
On my AZERTY keyboad I had to reassign the shortcut to Alt + M and Alt + W (maximize window).
It was maybe not yet implemented in 2013.
Look in Settings -> Keymap
Inside of that, look for "Maximize tool window" item.
Use the assigned shortcut or set one of your preference.
Regards
Before using the Cmd/Ctrl + Shift + Quote shortcut you have to activate the Run/Debug Command Output window, which in my keyboard is Right/Alt + 4 or , Right/Alt + 5 ...
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
I can use F12 to jump to project tree (if it was the last tool that I used), but is there a shortcut for jumping back to editor?
Esc usually brings the focus back to the editor.
With Alt + Home you can actually put focus on selecting the file and hit enter in order to go to the editor.
Esc is not always going to put the focus on editor.
For those on Mac (you don't have a Home key), use Command + E to open the recent files then hit enter.
Pressing F4 (Jump to Source action) in a selected resource in the Project View opens the editor with focus.
Another easy way to get from Terminal to Editor (on Mac) with two keys that are close together: Press ⌘1 to go to the project tool window, then hit Esc.
You can use ctrl + tab Navigate between files opened in the editor, and tool windows.
This is definitely a workaround, but, on mac os the following keystrokes work,
[ SHIFT + CMD + A ] > type "edit" > [ ENTER ]
So, I created a Service using Automator as follows,
receives no input
active for my IDE only ( phpstorm )
runs an AppleScript ( see below )
Then I mapped the Service via "System Preferences > Keyboard > Shortcuts > Services" to
[ CTRL + OPTION + CMD + i ]
The Automator Service, contains the following AppleScript,
on run {input, parameters}
tell application "System Events"
keystroke "A" using {shift down, command down}
delay 0.2
keystroke "edit"
delay 0.2
keystroke return
end tell
return input
end run
There is no perfect solution, since Escape doesn't work if your other Tool Window is a Terminal, Windowed... as a result there is an open ticket on Jetbrains, bug tracking site see this link.
Also, if you have "Autoscroll to Source" disabled (default state in Intellij):
Escape puts cursor in file currently visible in editor (As mentioned in the other Answers)
F4 puts cursor in file currently selected in the Project view.
The most elegant way found in mac: ctrl + tab + p
ctrl + tab: open recent file, always last file opened
ctrl + p: last line in mac default keymap
Is there a keyboard shortcut to switch between project frames in intellij?
I have two projects open and the only way I've found to select the non-active project is to drag the top window/frame out of the way and then click on it.
On osx, I use the standard keystroke (both Command+~ or Command+` seem to work) for switching windows within an application.
On windows, I use alt+tab.
Annoyingly, you can use "Cmd + `" to switch through your windows but it doesn't loop back to the first window when you reach the end. You have to use "Shift + Cmd + `" to go in the reverse direction.
for Mac OS X, try:
option + command + [
option + command + ]
If you have multiple projects just switching between them may be too tedious.
In such case it's better to open Window menu using ALT+W and choose project from list.
To make quick search working for project names you need to open Window menu as popup. To do it just assign keyboard shortcut for it:
I chose CTRL+ALT+W as my shortcut to open the following window with project quick search:
for Windows, try:
Crtl + Alt + [
Ctrl + Alt + ]
I've stumbled upon an intellij-native popup for switching projects. To find it and set a key mapping:
cmd+shift+a (if macosx; shift+shift might work cross-platform) for the find-command popup menu
type/search for the "open project windows" command
option+enter (or equiv) to assign a key mapping
This Project Windows popup lets you type to filter and select by project name.
Go to Intellij Preferences.
Under Keymap find Activate Next Window.
Right click on it and choose Add Keyboard Shortcut.
Press cmd + ` and click OK.
Click OK to close Preference window.
Map key to Activate Next Window
2013 answer for people who want an "up to date" answer:
If you maximize (full screen) all your project windows and keep them grouped together in "mission control" then I find the three finger swipe works really well to move between projects.
Ctrl + Shift + [
Ctrl + Shift + ]
Does it for me. On both Intellij IDEA and PyCharm.
On Windows the following should work:
Ctrl + tab
There is no such shortcut by default, but it should be possible to implement this feature as a plug-in.
In ubuntu 18.10, you can use the below key combination for toggling betwee two open instances -
alt + `
In ubuntu, switching between multiple windows inside an IntelliJ,
use alt + ~
If you're a MacOS user, as well as the Command+` and Command+Shift+` keyboard shortcuts which IntelliJ offers to toggle between IntelliJ windows, the OS-level Control+↓ keyboard shortcut is an excellent way to see and navigate between windows of the current app. The screenshot below shows the view which it offers. If you turn on App Exposé in your Trackpad preferences, you can also get to this view by swiping down with three fingers.
For Mac,
Command + Shift + [ or ]
works in full screen mode.
fast forward to 2022 and you get...
I'm working on a Mac OS X. Right click on IntelliJ dock icon shows all your open projects.
I was struggling with the same issue. This is how I dealt with it.
If you have set up your mac for expose ( by default F10 for application windows), then you could use that keyboard shortcut. This is the quickest way I know and since I usually have around 5 project windows I use this fairly frequently.
On MAC CMD + ` will work.
Ensure that you haven't maximised windows.
Have been searching solution for macOS for long time and found this great plugin finally https://github.com/krasa/FrameSwitcher.
Switching intelliJ windows by searching project name including recent opened ones.
I am just put a new update her for MAC OS on version (20220.1.4)
it has new: command + option + stands for the next and command + option + shift + stands for back
I am using Mac Big Sur 11.2.3 plus IntelliJ 2019. to switch among windows, I use the following 3 keys.
⌥ ⌘ `
If you have opened multiple projects and want to switch between them, then you can use:
command `
that is, command and tilde (you can get it just above tab button).
This is for mac os.