intelliJ speed up tool tip appearance - intellij-idea

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.

Related

IntelliJ doesn't display... at all

I have a bug which is completely over the planet. IntellIJ doesn't display. It's on, yet doesn't display.
It worked well before, last thing I did was re-setting up new dependencies on my code and (nothing to do with that) re-setting SDK for other reasons, both of which shouldn't be linked to display properties.
As you can see it's working, I see the pop up windows:
But doesn't display:
Yet I can see IntelliJ windows with Shift + Tab:
and yes, my screen doesn't duplicate, so it's not hidden in another dimension or something
I tried:
restart computer
uninstall install IntelliJ
uninstall install IntelliJ without previous parameters
try other JetBrains software, like DataGrip, it works and displays well
call a homeopathic doctor
Unsuccessfully. So I knee and await before your judgement of this critical situation.
I have this exact same behavior happen to me when I use IntelliJ at work and then go home and try to use it via Remote Desktop. Its very strange (regardless of which monitor I leave it on at work when I leave).
If I hover over it in the task bar and then hover over the thumbnail for the running app, I can right click and tell it to maximize and it magically comes back into focus. Sometimes I have to tell it to restore and then to maximize before this works.
Occasionally even this doesn't work and I have to close it, re-open, and do the same. It makes no sense, so I understand your frustration.
It works
As John Humphreys - w00te mentionned, click right over the thumbnail (I insist: the thumbnail ! Not the taskbar icon) and then select maximize and voilà.
Bon appétit.
Thanks for your contribution and I hope it will help some people in need here.
I have had this issue when I have moved from a dual monitor setup to a single monitor setup or a different dual monitor set up. The issue here that intellij window seems to save and use the coordinates of the last dual window setup to render the window. It doesn't matter you restart your computer, it will always try and render to that position, even if that position is not visible on the new monitor set up. On windows there is an easy way to fix this issue. Go to your display setting and flip the order of the windows. The intellij window should now be visible. you can drag the window to the your other monitor and re-arrange the windows back to the order you had previously. After that, you can place the intellij window wherever you want.
In my case I noticed there is a 1 pixel thick gray line on my screen, turns out that was the IDEA window and I could resize upon hovering that line. Needless to say it wasn't me shrinking it.
I have this same behavior, It happens to me when I connect a monitor in extended mode and move the intellij window to the monitor, then disconnect without moving it back. No other solution other than to connect to monitor again and bring it back to the original window for me works.
On mac, select the app from the app tray so that the menu for it appears up top. Then on the menu up top, go to Windows->Zoom and it should expand to fill the viewport.
From there you can drag it down to size and reposition.

How to wrap text in quick documentation in IntelliJ?

After Ctrl+Q (Quick documentation) I could not see all text. I have to scroll horizontally to see all content. I could not make the editor to fit the window.
UPDATE:
The problem is only symbol definition, ie. the first line. The description (block text) is wrapped correctly. Actually, I don't want to resize this window as I prefer to keep it as I write in the same position for quick reference. I have to add that my monitor is quite small (15-inch) which is probably causing the problem.
Indeed method signature in the popup is not wrapped. There is a request you can vote for: IDEA-169414.
UPDATE: The documentation popup is reworked in 2018.1 and it should be fixed.
I'm not aware of a way to configure IntelliJ to wrap text in these windows.
I think the quickest way to see the full line in the quick documentation window is to press Ctrl+Q again to make it a little bigger (and center it) or maximize it with Ctrl+Shift+"
Keep in mind that the smallest version (the one that appears after the first Ctrl+Q) can be resized by hovering the mouse cursor over its edge and dragging it. It's going to retain the same size the next time you open it.

Show the intention/quickfix window faster in 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.

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.

For intelliJ 12.X how do i get the console back in the debugger?

Just like this question here:
IntelliJ: After hiding my "Output" sub-panel within the "Debug" panel, how do I get it back?
I canno get the log/console viewer back in debug mode.
The suggested solution in the given question no longer works the "restore layout" button does nothing, and the "certain spot" on the debug is extremely vague at best.
Is there a way to retrieve the console if it gets vanished (or better yet, just stop that button for vanishing it from even existing)?
I am using IntelliJ 12 Ultimate. If the restore layout didn't work for you either, this should fix the problem:
Open the Debug panel.
Keep mouse on the Debug tab and move it straight right to the Watches icon.
You may see a few more more icons here, and Output may or may not be visible (not visible for me)
If visible, click it and the Output view will be restored.
If not visible, move your mouse slowly to either side of the Watches icon and an empty block would highlight indicating that you are hovering over an icon. There may be several of these. Use tooltip to figure out which is Ouput and click it.
Worked for me, I hope it works for you too.
click the button on the left of Debug View called "restore layout",then the console will go back in the Debug View! 1
Syed explained it pretty well, but a picture could be even better:
A view can be hidden via its context menu, then restored by clicking the corresponding icon (with red circle) to the right.
You can restore the layout using this button as of 2018.1.8
In 2016.2, I had to re-run in debug mode for it to reappear. I could not find a way to un-hide the console in the debug window.
You don't say which version of IntelliJ you're using, but I've just tried this in version 12 and the console window minimises to the far right of the debugger tabs. Look at where it says 'Debugger' and then eyes right until you see one or more icons over the Watches panel. Try clicking on them. If you're not using version 12, then only god can help you :)
In v. 2020.1 there is Layout Settings on the top right corner of Debug window
I've just spent an hour trying to get my console output back, and although this answer didn't solve it, it did help.
I'm on Intellij 11.1 Ultimate Edition, and Restore layout didn't help. Nor did I have any icons above the Watches window in the debugger, but I clicked around above the Watches anyway - and suddenly my console output was restored.
I've tried clicking around there again to see if I can provide more concrete steps, but without success. Can only suggest you keep clicking till it reappears.