Intellij is stealing focus from editor after compile - intellij-idea

I'm using Intellij IDEA 9.0.2
After each make, if i have errors, window "messages Make" is stealing focus from the main editor. Do you know how to correct this?

There is no way to change this behavior in the configuration. There is a keyboard shortcut which allows you to change focus to specific 'windows' within IDEA.
CTRL+SHIFT+TAB
CTRL is probably replaced with CMD on Mac and Super (windows key) on Unix. This will allow you to manually switch back to the editor tab of your choice, or any other window for that matter.

ESC does the trick for me in intelli 12.

Related

Intellij Idea: what is shortcut for main window

Imaging the situation when you writing some code and then you wish to continue your work in the terminal. Alt + F12 and you are in the terminal. After 1 sec you wish to continue to work under your code. So you need some shortcut that allows you return back to the code window (I would like to avoid using the mouse). What should I press for this case?
Terminal has an option to override IDE shortcuts which is enabled by default, this is done so that you can use common shortcuts in the terminal applications.
If you disable this option, you can use Esc to get the focus back to the editor, otherwise it will be intercepted and can be used in the apps running in the terminal tool window.
Shift+Esc will hide the Terminal tool window and move the focus back to the editor no matter if the option mentioned above is enabled or not.
For all the other cases Esc will work fine as mentioned in my other answer.

Jump to editor shortcut in Intellij IDEA from Windowed Mode

As for Jump to editor shortcut in Intellij IDEA question Esc only works if you have your "windows" inside IDEA.
But how can I navigate back to the code if I have my window in "Windowed mode"?
I found Alt+Tab as an option, but it is not always convenient to use it.

Keyboard Shortcut to go full screen in Webstorm/IntelliJ Terminal tool window from terminal?

I googled but have not found any solving documentation/thread regarding this:
Is there a way to set keyboard shortcut to go full screen in Webstorm Terminal tool window from Terminal window?
I know shortcut shift+Command+' but that doesn't work for me inside terminal. I know by double clicking it you can toggle it to full screen but wondering that is it possible to set keyboard shortcut to do it as I do this operation often.
Try the "Maximize tool window" command in the menu - Window->Active Tool Window->Maximize tool window
Or from terminal tool menu - Resize-> Maximize tool window
Warning! The following shortcut only works if "Override IDE shortcuts" option is disabled
To map a shortcut to this, open the Preferences dialog and type "Maximize tool window" to search the settings. It should find a match in the keymap section, and you can then use it to assign a shortcut.
It will warn you if you already have something assigned to your choice.
Warning! The following option will cause some problems in Terminal, for example, editing in vim (Esc key) etc.
Also, you can to checkout the "Override IDE shortcuts" setting in the Terminal section of the Preferences. This is enabled by default - I turn it off and find it resolves a lot of niggles I have with using the terminal. The shortcut above only works if it's disabled.
In Mac cmd+shift+fn+12 will do the trick
I mostly like zen mode - cmd(ctrl)+K,Z
enter image description here
Double press 'escape' from anywhere will bring you back to editor tab.

IntelliJ IDE (IDEA, PhpStorm, WebStorm): Shortcut for focusing Filter field in e.g. Change Log tool window

Is there a shortcut for focusing the Filter box in tool windows, specifically the Change Log?
See the attached screenshot to know which field I'm talking about. I searched the net and key map, but found nothing like that.
I have confirmed at Jetbrains that unfortunately it's not possible yet: http://devnet.jetbrains.com/message/5520523#5520523
Just start typing with the focus inside the tool window. IDEA invokes the search automatically. To select the item, press Enter. To cancel, press Esc.
This feature is called Tool Window Speed Search.

Intellij ignores the selected keyboard layout

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.