Alex Rivera | Logout

Eclipse equivalent command in Intellij

Asked 2012-01-13T22:27:39.797
21

I am switch to Intellij from Eclipse. I would like to know if/what is the equivalent in Intellij

  1. Quick Fix (Control-1 in eclipse)
  2. In editor for the file which I open, navigate the Project/Directory window to show the same file?
  3. Highlight a section of code and do 'correct indentation'
Edit
Report

1 Answer

6

I'm unsatified with the answer that ALT + Enter is a match for CTRL + 1.

CTRL + 1 provides shortcuts to generate code depending on what you are doing. For example, if you are on a method it can generate code for a local field based on the return type.

CTRL + ALT + V ... generates a local variable based on the return type of a method which I'd say is one my main uses of CTRL + 1.

answered 2013-05-14T02:05:39.330

Your Answer