IntelliJ IDEA shortcut key (window version), intellijidea

Source: Internet
Author: User

IntelliJ IDEA shortcut key (window version), intellijidea
1. Efficient code locating 1. Jump 1. jump between projects

Next Project Window shortcut key Ctrl + Alt + left square brackets.

Previous Project Window shortcut key Ctrl + Alt + left square brackets.

2. Redirection Between Files

1. The Find Action shortcut Ctrl + Shift + A is used for the search function. In help.

2. Search for the most Recent file in Find Action. You can Find the shortcut key. The Recent Files are in View.

3. The Recent Files shortcut Ctrl + E is located in view.

Recently Changed Files shortcut Ctrl + Shift + E Recently modified file, also located in view.

3. Browse and modify the navigation position

The Last Edit Location shortcut Ctrl + Shift + the Last modified Location of the Backspace, only jump to the modified Location.

Press Ctrl + Alt + to open the left arrow to jump to the previous position. Only when the cursor stays over will the jump.

4. Jump using bookmarks

Create a bookmarks shortcut F11, Ctrl + F11 bookmarks with tags.

Jump between bookmarks Ctrl + bookmarks (self-set numbers or letters ).

5. Add a favorite location and file

The favorite location is opened by Alt + 2.

The shortcut key Alt + Shift + F to be added to the favorites folder. You need to position the cursor to be added to the favorites folder. You can collect classes and functions.

6. Character jump plug-in emacsIdea

Search for emacsIdea in plugins and install the plug-in.

7. Jump back and forth between the editing area and the file Area

1. the shortcut for redirecting from the editing area to the file area is Alt + 1.

2. The file area jumps to the Esc key in the editing area.

2. Precise search 1. Search

The shortcut key Ctrl + N for the search class, which is located in Navigate.

To search for classes in the jar package, press Ctrl + N twice. You can see that the option box below is checked.

2. Search for files

The shortcut key Ctrl + Shift + N for searching files, which is located in Navigate.

3. Search for symbols

Ctrl + Alt + Shift + N, which is in Navigate.

4. Search for strings

The shortcut key Ctrl + Shift + F for searching strings, which is located in Find in Path under Find in Edit.

On the interface that appears when you press the shortcut key, Match case matches the case, whether the Words string is a word, and whether the Regex string is a regular Match. The File mask can be specified to search in that type of files, you can select the matching mode as needed.

The In Project, Module, Directory, and Scope below are all selected scopes. You can select them based on your needs.

Ii. Code assistant 1. Column Operations

The shortcut key Ctrl + Shift + U that converts all strings to uppercase, which is located in Edit and Toggle Case.

Select the shortcut key Ctrl + Alt + Shift + J for all the same words or symbols. Then, you can perform multiple operations.

2. live template

You can customize some common templates to improve coding efficiency.

1. Add a template group.

2. Add abbreviations and descriptions.

3. Add the template content. Note that $ END $ indicates that the final cursor will stop at this place. $ var1 $ and $ var2 $ indicate that the cursor will jump from var1 to var2 by pressing the Enter key.

Customize the testing method with annotations.

The specific effect is as follows.

3. postfix

Postfix template, which can automatically generate some code. You can browse these templates frequently and learn how to use them to improve development efficiency.

Example: fori: automatically generates a 100 for loop;

4. Alt + Enter

If you do not know how to complete the task, pressing Alt + Enter will prompt you intelligently. There are different prompts in different environments, which are commonly used in the following ways:

1. automatically create a function

2. list replace

3. string format or build

4. Implementation Interface

5. Spelling words

6. Import package

 

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.