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 version number of 14.1.2.


I. New project (Take the new Java project as an example)


Select "Create New Project" in.


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" folder, then right-click (two fingers at the same time). Then in the "new"----"Java class" can complete a new class.

For example, as seen in:



4. Implementation

For example, as seen in:



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 then change the "Theme" to "Darcula" (the default is None). 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.

After the configuration, IntelliJ idea is a black theme.



Third, the configuration of shortcut keys

IntelliJ, the shortcut keys are configured in the same way under preferences in configure, only when the "KeyMap" is selected at this time. For example, as seen in:



You can configure the shortcut keys at this time.


Four, Mac IntelliJ idea is often used shortcut keys.

The code complements CTRL + Space, which is very likely to conflict with the shortcut keys of the Mac itself. At this point it is assumed that a search box might be needed to handle this. )

Delete line COMMAND + D

Gaze COMMAND +/

Import Package Command + SHIFT + O

Format Code COMMAND + SHIFT + F

Execute CTRL + ALT + R

Incremental Searchcommand + J implements a high-speed find function in the editor, contextual search with up and down arrows

Quick definition Command + Y It will pop up the window to display the contents of the method definition in the suggestion list. Suppose you're not sure which method to use

Find Nextcommand + K

Find Previouscommand + SHIFT + K

Specific method, class CTRL + click on class name, method

ctrl+alt+ Left/right back to the last viewed location

Command + F12 Similar to the function of Eclipse CTRL + O outline



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.