Show the intention/quickfix window faster in IntelliJ IDEA? - intellij-idea

In IntelliJ IDEA, an intentions/quickfix popup (with lightbulb icon) will appear when you hover the mouse over applicable lines of code for a second or so (or immediately if you press ALT-Enter). I have most popups like code completion set to display in 50 ms, so waiting a full second for the Quickfix window is maddening. Is there any way to decrease the delay?
I'm hoping for a delay setting, not the keyboard shortcut.
I've dug through the settings in IntelliJ and done plenty of web searches and can't find an answer to this.

Related

How can I move focus from the Quick Documentation pop-up back to the Code completion pop-up without using the mouse?

Context:
When a code completion pop-up (Ctrl+Space) appears I often need to have a look at docs for each individual method / constant / etc). The IDE is set to show the Quick Documentation pop-up for a highlighted suggestion automatically after a small delay. Sometimes the documentation is too big and I need to jump to the Quick Documentation pop-up in order to be able to scroll down through it.
Using the mouse I can click on the documentation pop-up and scroll using the mouse wheel. When I'm done reading the documents I can click on the code completion pop-up to explore other suggestions.
My problem is that once the Quick Documentation pop-up is in focus, I haven't found a way to move the focus back to the code completion pop-up without using the mouse.
While I can move focus from the code completion to the quick documentation pop-up by pressing Ctrl+Q, and then use the arrow keys to "scroll" through the documentation, I haven't found a shortcut to return the focus to the code completion pop-up.
What I've tried to far:
Esc closes both pop-ups
Pressing Ctrl+Q a second time opens the docs on a tool window
Any insights on how I can close the Quick Documentation pop-up or move the focus back to the code completion pop-up in such a way that preserves the suggestion that I have previously highlighted?
This seems to be a bug in IntelliJ IDEA . Feel free to add your use-case at https://youtrack.jetbrains.com/issue/IDEA-168388
Here is a workaround that could be used for the time being:
Open Documentation as a Tool Window:
Add keyboard shortcut to focus documentation window from anywhere:
When the completion popup appears, focus documentation tool window by the shortcut from [2] and scroll it
Press Esc to unfocus documentation tool window and focus completion popup

IntelliJ IDEA / WebStorm IDE: how to jump right to specific settings screen?

IntelliJ IDEA / WebStorm:
I frequently manage and tweak my live templates and I'm getting very tired of having to navigate each time to the live templates screen. How can I make a shortcut to instantly jump right to the Live Templates settings screen? Or any other settings screen for that matter? Must I use automation with AutoHotKey or is there a better way?
And yes, I am already familiar with the shortcut key to define a new live template -- that's not what I'm looking for. I simply want to jump to the settings screen in one keystroke.
UPDATE:
Going with Chistoph's suggestion, here is my AutoHotKey snippet in case anybody's interested. It's far from perfect; you might need to adjust the timing values for your system:
#IfWinActive,.* - WebStorm 201
!t::
KeyWait, LAlt
Sleep 600
Send {LShift}{LShift}
Sleep 100
Send Live Templates
Sleep 300
Send {Enter}
return
#IfWinActive ; turns off context sensitivity
As of IntelliJ/WebStorm 2016.2 and earlier, there is no built-in functionality to assign a shortcut to a specific settings screen, but it's fairly trivial to implement that in a third-party plugin.
Note that the Settings dialog remembers the last selected settings page, so if you're working with the same settings page most of the time, you shouldn't need to navigate to it.
One method you can use:
Double press shift in your editor, then click on the gear icon for settings. Turn on Show IDE settings there.
Afterwards you can double press shift and enter Live Templates in the prompt, press Enter and you are in the right settings screen.

IntelliJ IDEA 13: Keyboard shortcuts to navigate stack trace after running tests?

When I run a test in IntelliJ IDEA 13.01 Ultimate, with any luck it just passes. In those rare cases (ha!) when I get an exception, though, it displays that exception on the right side of the Run context, as is shown below:
The up and down arrows between the two panes can walk you through the stack trace, which is great. And they claim to have a keyboard shortcut, ctrl+alt+down and ctrl+alt+up. But these shortcuts do not seem to work with any obvious workflow, and I always wind up forced to use my mouse. This is, in fact, the only time I have to use my mouse in my IntelliJ IDEA workflow. What am I doing wrong?
shift-alt-F10 to select the test case I want to see.
The image below appears, except the two blue arrows are grayed out. This is true whether the editor window contains a relevant source file or not.
Using the mouse, click on an item in the stack trace.
The two arrows are now colored, and can be used by clicking on them. Their keyboard shortcuts, however, cannot be used.
The keyboard shortcuts seem to work occasionally, under conditions that I do not understand.
I am using the ideavim plugin--could that be an issue?
It's a known problem, feel free to vote for VIM-176.

intelliJ speed up tool tip appearance

I'm new to intelliJ and sometimes like to use the "tool tips" (or whatever the kids are calling it these days - the thing that pops up when your mouse hovers over it) to find out what the different buttons do.
Annoyingly, sometimes i have to wait more than a heartbeat for the tool tip to appear. Is it possible to edit the speed with which said tips appear in intelliJ when I hover my mouse over a tool-tip-enabled item?
EDIT i am running 12.0.1 - one solution below is for 12.1.3+ (as noted in the comments), any ideas for below 12.1.3
There is a setting in the Settings window.
Edit
This seems to be available from version 12.1.3 only.
You can although edit the idea.vmoptions file and add a line like this at the end:
-Dide.tooltip.initialDelay=200
This makes the tooltip appear much faster (at least in some areas). Try by hovering on a tab in the editor pane. It will pop up very fast. Then close IntelliJ and change the value to 20000 and try again. As you will notice it will take 20 seconds (as expected).
For example try hovering over buttons as you describe in your question. By setting the delay to a very low value the tooltip appears immediately.

Is there a keyboard shortcut to maximize/minimize the output window in Xcode 4?

I'm currently trying to workaround some apparent shortcomings of cocoa touch application tests in Xcode 4 (see this related question). Since failures of application tests are not highlighted in the editor window like failures of logic tests, I find myself using the mouse to scroll through the output window to see the results of failed tests.
I would prefer to use keyboard commands if possible to quickly look at the results of the tests and then quickly move back to the editor. Are there some keyboard shortcuts in Xcode 4 for maximizing and minimizing the output window?
It looks like Command+Shift+Y opens and closes the debug area, but I don't know of a keyboard shortcut to maximize it.
Here's a nice cheat sheet you can print out with lots of keyboard shortcuts.
I haven't found a direct shortcut, but along with Jose Ibanez shortcut, here are some relevant ones.
Cmd+0 Toggle left pane
Cmd+Alt+0 Toggle right pane
Cmd+Shift+Y Toggle bottom pane