Reputation: 2889
In eclipse when you hover over some erroneous text you can press F2
to focus there. What is the equivalent procedure in IntelliJ?
Whenever I put my pointer over some error the text describing it disappears.
In Eclipse it will suggest what I can do to fix something like an unhandled IO exception. I'm sure IntelliJ can also do this because some people I know who are quite skillful programmers highly recommended it to me, but- how to do this?
That is: hover over some text at is in error, see what the error is, the options to fix it, and then choose one.
Upvotes: 0
Views: 64
Reputation: 5019
The actions you are looking for is called "Error Description" and "Show Intention Actions".
Upvotes: 1
Reputation: 34776
If you click on the highlighted part of code, the error description will appear in a pop-up bubble as well as in statusbar.
You can then hit ALT+Enter which will offer you some options to handle the given error/warning or to disable the warning.
Upvotes: 1