Configuration of new, color, shortcut keys for projects under the INTELLIJ idea Environment under Mac

Source: Internet
Author: User

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

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.