Intellij provides "Switcher" which not only switches between recent files but also tool windows.
Some tool windows are not being assigned to a shortcut which forces you to open it every time going trough Switcher dialog instead of just doing a simple shortcut.
For example here gradle does not have a shortcut
Although it is shown as tool window under number 5
How do we manage these shortcuts?
Go to Settings -> Keymap -> Other and find Gradle, assign shortcut as you wish (i.e. Alt + 2). It will work. Note that a hint on button (in this example 2:Gradle) will appear after restarting.
Usually, I will want to display the code usage like class hierarchy and etc. And it will override the Run view. But afterwards, I want to get back to Run view to check logs. Is there any quick way to do that ? Now I have to close class hierarchy view and then open Run view which is time consuming
Most toolwindows in IntelliJ IDEA have shortcuts that can be used for activating them. You can see the shortcuts if you open the View | Tool Windows submenu of the main menu.
The default shortcut for the Run toolwindow is Alt-4 in the default keymap or Cmd-4 in the Mac OS X 10.5+ keymap.
I've mapped some functions in IntelliJ IDEA to the Alt key.
Specifically Alt+W for closing an active tab.
When I mapped the key, it said that there were no conflicts with existing key binds, but whenever I try Alt+W to close an active tab, the "Window" navigation-tab in the editor is selected instead.
(see picture)
I'm thinking that this is a standard Windows functionality for the navigation tabs in applications which is overriding the Intellij Keymap, but I don't know how to disable this. Any ideas?
I am using Intellij IDEA 13.1.5 and I cannot hide tool windows with default Shift+Esc keyboard shortcut. When I tried to set a different shortcut to the action, I figured out that Settings window cannot detect the Shift+Esc key combination. (I can set a different key combination in settings, but cannot set Shift+Esc. If I press Shift+Esc, IDEA doesn't detect it)
What could be the problem here? Could this be an issue with the OS (I am on Windows 7) so Shift+Esc is not sent to IDEA?
This was caused by a process named PrivacyIconClient.exe which should be using Shift+Esc as a global shortcut. This process is started by PIconStartup.exe which is started at system startup and can be prevented from starting by unchecking it in msconfig.
Privacy Icon Client can actually be configured to use shortcut another than default Shift + Esc.
This seems like a bug in IntelliJ 12: Every couple of times when I switch between keyboard layouts (English and Hebrew) IntelliJ get stuck on one of them and ignore the windows selected keyboard layout. This happens only for intelliJ, all other programs respond as usual to the windows selected keyboard layout.
Is there at least a workaround, or a way to reset IntelliJ's keyboard layout? The only thing that seems to work for me so far is restarting my machine...
(My OS is Windows 7 Enterprise 64bit)
This is 100% reproduced when you switch keyboard layout in quick class search (Ctrl+N). Also in intellij idea 13.
Something like:
Open quick search menu when keyboard is not in English layout (Russian e.g.)
Type anything
Switch to English
Congratulations! you stuck in russian layout :) restart your intellij idea!
When I ceased to switch layout in search, I forgot about this problem.
UPD: it's suitable for most part of text inputs (even for search and file creation)
I've just had this problem on PyCharm 2020.2.3
Here's how I've solved it:
Go to Settings -> Keymap
At the bottom of the window, check the option Use national layouts for shortcuts (require restart)
That did the trick
restarting IntelliJ also works.
I wonder how they managed to get such a stupid bug, this is not an easy bug to write, especially in Java.
That was found to be more like a global Microsoft/Oracle bug. Simple workaround from IntelliJ's issue tracker: use Windows' language parameters to assign a hotkey (Ctrl + number) for changing the layout directly to a desired language. This suddenly will affect both Windows And IDEA. It's said that bug was fixed in Win8. A bit more info: here
In 2020 bug is still relevant in the most IDEs based on IntelliJ. For example I observe this in PyCharm now.
There is workaround for Windows:
Go to Language Bar - Settings... - Advanced Key Settings
Set key sequence of To English action to Ctrl + 1
Set key sequence of to other your language to Ctrl + 2
Apply
Go to IntelliJ/PyCharm and switch language by new sequences
After that bug disappears and you can switch language by traditional method
For me the following actions seem to resolve the issue:
Go to Control Panel
Select Clock, Language & Region
Press Region
In the opened window choose English for Format.
Also all my settings except the location are set to English (locale, default keyboard etc.)
This fix worked on my mac, access Preferences -> Editor -> Typing Corrector from the intellij IDEA menu. If you are able to navigate to the same window on your OS, you can try this.
Uncheck Enable keyboard layout correction in the Typing Corrector window
I got the same issue in Ubuntu 16.04. Restarting IDEA doesn't change anything. But Changing the default layout to be the one I want by default ensured ubuntu work well with it.
Go to the search textfield above file editor.
Switch layout.
Type smth.
Click somwhere in the file editor.
Write smth with swithed layout.