Focus on dialog with ideavim - intellij-idea

I have some handy mappings set up in my ~/.ideavimrc some of which result in IntelliJ opening a new window/dialog box. For example the following line lets me type \t and it'll open IntelliJ's "jump to test" dialog box which lets me jump to an existing test or create a new test file:
:map \t :action GotoTest<CR>
This almost works great. The only issue is that when the dialog box pops up the focus is still on the editor window, not the dialog box. As a result I can't simply use the arrow keys to select my option and hit enter. Instead, I have to use the mouse. As a good code nerd, I abhor the mouse. So, how do I get the keyboard focus to change? Is this possible?

It's fixed in the master branch https://youtrack.jetbrains.com/issue/VIM-796, but the fix hasn't been released yet. You can download a CI build and help testing IdeaVim. See https://github.com/JetBrains/ideavim for more details.

Related

How to check/uncheck individual change checkbox in IntelliJ commit diff dialog?

I am an aspiring keyboard user, using IntelliJ to do selective commits to my project.
To do this, I open the Commit dialog with Ctrl+K.
I then press Shift+Tab to switch to the file list, Home to select the root-level node, and Space to uncheck/de-select all files.
I then press the down arrow once or more to select a file, press Ctrl+D to display its diff. I press F7 to go to the first change in the file.
At this point, to the left of the right pane (with the new version of the file) is a checkbox. Not the one at the top which selects all the changes in the file, but the one which selects just the change displayed.
My question is: How do I select/un-select this checkbox without using the mouse cursor? I need to use the mouse as little as possible due to RSI.
Note: When asking questions like this, I sometimes get responses with other pointing device suggestions. Unless you're going to recommend a keyboard technique, I am not interested in your suggestion, and will flag/report your response if that's what it is.
By default there is no keyboard keymap for this action. But you can easily choose new keymap for this.
Go to File->Settings and search for "include" in the search box. What you need is to assign a keymap for "Include Lines Into Commit". Double click on this option and assign any keymap that you want. It is hard to find new keymap that didn't assign to any other action, but only for the demo I choosed Ctrl+T.
You can see what I did in the following image:
Click on Apply and then you can use the keymap that you choose to check/uncheck any individual change checkbox in Intellij commit diff dialog.

How to stop annoying documentation popups in IntelliJ IDEA

Using IntelliJ IDEA 15, I get these constant and annoying documentation popups whenever my mouse is anywhere in the code window for a decompiled class (from a 3rd party jar). It will popup docs for whatever variable/method/class/anything happens to be near my mouse. If my mouse is not near any lines of code, it will popup for the current classfile, so basically I can't browse code unless I move my mouse to another window.
It only happens with decompiled classes, not my normal code. How do I stop these?
Go to File>Settings>Editor>General - in the section 'Other', uncheck 'Show quick documentation on mouse move'.
In later versions of IntelliJ, the path is File>Settings>Editor>Code Editing, and it is under the "Quick Documentation" section.
In my cause, 'Show quick documentation on mouse move' was in Editor > Code Editing:
If you want the documentation bubble but not the popup window, do this:
Place your text cursor on some text which causes the popup.
Press ctrl + q (or whatever keyboard shortcut you have for quick documentation) a couple of times until the popup window disappears, the quick documentation will then revert to the "bubble" on hover.
Under the File/Settings/.., at the top search bar, type in for "Quick Documentation", will point to the location.
Press <F1> button to show/hide this pop-up.

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.

How can I focus the cursor into the test results output area using the keyboard in Jetbrains IDEs?

I have just run some Rspec tests in Rubymine and I want to use the keyboard to focus on the test results so that I can then jump to the test source code.
Here's the bottom of the IDE window. I want to first focus into the left hand pane so I can choose the correct test, then jump to the right hand pane so I can choose the line to go to. I've tried to use Command-4 to focus on the pane, but it just focuses the tab and not into the actual pane.
What is the correct key combination to do this (or what are the actions called on the keymap so I can assign keys)?
Although it's not what you asked (and I'd like to know an answer), I did just discover the "Select Failed Test When Finished" option in the Run pane settings (the blue gear in the upper right of the left-hand sub-pane). It selects the first failed test (which puts the output of that test in the right-hand sub-pane) and puts focus in the right-hand sub-pane. So if you always want to do that when a test fails, it might make you happy a lot of the time.
Try to use "Tab" button. After that, you could move logs with Up/Down arrows or PageUp/PageDown buttons.
It works on my IntelliJ IDEA 2017.1.5.
View -> Tool Windows -> Run
For me, the shortcut would be [Alt+4], and it is displayed in the menu, you will see it. If there's none, go to Keymap settings and configure it.
And yes, this question is old but it's a useful shortcut

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.