http://blog.csdn.net/longshen747/article/details/17204699
The key style I chose is set in Eclipse (Mac OS X) preferences=>keymaps
Common shortcut keys
Code completion Ctrl + Space
Delete line Command + D
Note Command +/
Import Package Command + SHIFT + O
Format Code Command + SHIFT + F
Run Ctrl + Alt + R
Incremental Search Command + J implements a Quick Find function in the editor with contextual searches through the up and down arrows
Quick definition Command + Y It will pop the window to display the contents of the method definition in the suggestion list, if you are not sure which method to use
Find Next Command + K
Find Previous Command + SHIFT + K
Detailed method, class Ctrl + click on class name, method
Adjust the interface for cool black
Preferences=>appearance=>theme=>darcula
Set shortcut keys:
Preferences=>keymaps
Auto Completion:
The default is clt+space under Mac and can be set using Keymaps=>main menu=>code=>competion. What's better than Eclipse is that spring, maven XML, and even the Freemarker template and Ibatis's Sqlmap all support highlighting and auto-completion.
To remove the case sensitivity of auto-completion:
I do not know how many children's shoes and I have been spoiled by eclipse, using auto-completion completely pay no attention to the case, IntelliJ by default case-sensitive, it is very sad. In Editor=>code completion, however, the case sensitive completion is set to none.
Automatically expand directory
Eclipse has the ability to automatically expand the directory by opening a file, selecting AutoScroll to Source and AutoScroll from source in IntelliJ from the gears on the left column of project.
Automatic compilation
IntelliJ default does not automatically compile the project, so there will be a make process before run, the habit of automatically compiling the project can be opened here: Compiler=>make Project automatically. Because the IntelliJ project is not very space-enabled, it does not have a long build workspace like eclipse.
Intellij idea Common shortcut key--mac version