In Eclipse, if you press CTRL+1, the cursor is set on the first error and there the IDE presents you some solutions. In IDEA, you press ALT+ENTER for some solutions, but I don't know how to make the cursor to go to the error.
With IntelliJ IDEA you can restore that change in a couple of clicks. Right-click anywhere in the editor and choose Local History | Show History from the context menu. In the dialog that opens, the left-hand pane shows a list of all saved revisions of the current file with timestamps.
In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.
Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"
Select any text in the editor. Press Ctrl+Shift+F to search for this text in all files. "Find in path" popup dialog window opens with search results. In upper part of the window there is list of files where text was found, in lower part of the window there is preview of found text in selected file.
F2 can be used to navigate through all errors/warnings in current file in circle.
After compilation: Ctrl+Alt+Arrow Up/Down can be used to navigate through any results: search results/compilation results.
Besides, you can choose going to next error only (ignore warning) by:
Go to high priority problems only
it works for Intellij Idea 12
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With