Intellij idea Common shortcut key--mac version

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.