Note: The IntelliJ idea used in this article is the 14.1.2 version.
I. New project (Take the new Java project as an example)
Select "Create New Project".
Next you will see the following interface.
2.
Next always click Next. Until the following interface.
This is when we name this project in Project name for our correspondence.
Next click "Finish" to complete the project's new.
3. Create a new class.
Select the "src" directory, then right-click (two fingers simultaneously), then in "new"----"Java class" to complete a new class.
As shown in the following:
4. Operation
As shown in the following:
Second, the IntelliJ on Mac color Matching
1, select "Configure"------"preferences" in the following interface
At this point you will see the following interface:
Select the "Appearance" and Change the "Theme" in it to "Darcula" (none by default). Then change "Name" under "Override default ..." Below him to "Dialoginput". This is mainly to avoid the occurrence of garbled Chinese.
Then click "OK" to complete the configuration. When the configuration is complete, IntelliJ idea is a black theme.
Third, the configuration of shortcut keys
IntelliJ, the configuration of the accelerator is also under preferences in configure, but at this time the "KeyMap" is selected, as shown in:
The shortcut keys can be configured at this time.
Four, the Mac IntelliJ idea commonly used shortcut keys.
Code Completion CTRL + SPACE (this shortcut is likely to conflict with the Mac's shortcut keys, if this appears to be a search box that needs to be processed.) )
Delete line COMMAND + D
Note COMMAND +/
Import Package Command + SHIFT + O
Format Code COMMAND + SHIFT + F
Run Ctrl + ALT + R
Incremental Searchcommand + J implements Quick Find function in editor, contextual search by 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 Nextcommand + K
Find Previouscommand + SHIFT + K
Detailed method, class CTRL + click on class name, method
ctrl+alt+ Left/right back to the last viewed location
Command + F12 is similar to eclipse's Ctrl + O function outline
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Configuration of new, color, shortcut keys for projects under the INTELLIJ idea Environment under Mac