Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I bring up the hover menu for an error in Intellij without mousing over it? [duplicate]

With the hover menu I mean the nice little yellow (in my case) menu that shows the error in a couple of lines when you hover over a word or symbol that's marked with a red line. I know how to navigate to it (F2, shift+f2) but once I'm at it I can just use the keyboard to hit ctrl+enter and get the possible solutions, I actually don't know how to use it to bring up the error window up itself so I can see what it's about.

like image 305
Soggiorno Avatar asked Aug 26 '15 19:08

Soggiorno


People also ask

How do I get rid of IntelliJ errors?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | Inspections. Locate the inspection you want to disable, and clear the checkbox next to it. Apply the changes and close the dialog.

What is jump to function in IntelliJ?

In IntelliJ IDEA, you can see where and how symbols, such as tags, classes, fields, methods, or functions are defined in your project. For this purpose, the IDE features the Quick Definition popup. To view definition of a symbol, select it in the editor and press Ctrl+Shift+I (or click View | Quick Definition).

How do I open two files side by side in IntelliJ?

In the Project tool window, right-click a file and select Open in Right Split from the context menu (or press Shift+Enter ). IntelliJ IDEA will open a file in the split on the right of the editor. If there are two splits and focus is in the left split, the file will be opened in the existing right split.

How can I view source code in IntelliJ?

From the main menu, select View | Show Siblings. IntelliJ IDEA opens a popup where you can browse through the implementations, navigate to source, edit code, and open the list in the Find tool window.


2 Answers

This has been answered here: Keyboard shortcut to display error in IntelliJ

You can use Ctrl+F1.

Also, the shortcut to view solutions is Alt+Enter I believe, not Ctrl+Enter.

like image 132
Zarwan Avatar answered Oct 05 '22 11:10

Zarwan


On a mac keyboard use Cmd + F1 to bring up the hover menu for an error

like image 31
Florian Maier Avatar answered Oct 05 '22 11:10

Florian Maier