"Original" Eclipse vs. idea shortcut key contrast encyclopedia

Source: Internet
Author: User


Spent a day familiar with the idea of the various operations, will be a variety of shortcut keys have been tried, it is very good. So I sorted out some of the Eclipse shortcuts I used to compare with idea to make it easier for those of you who like me to use eclipse for years but want to try something different. Also recommend an idea must be installed plug-in key promoter, for you do not use the shortcut keys to the operation of it will immediately prompt the corresponding shortcut keys, very powerful. Idea of some of the more stunning shortcuts I have highlighted, want to understand the magic of them, just put a thought to try it yourself.


Classification

function Point

Eclipse shortcut Keys

Idea shortcut key

Search

Search text

Ctrl + F

Ctrl + F

Ctrl + R Find replacements

ALT + p/a/replace one/all

Alt + F3 Find the currently selected word

Continue searching

Ctrl + K Forward

Ctrl + Shift + K back

F3

Shift + F3

Search method

Ctrl + O

Ctrl + F12

Search class

Ctrl + Shift + T

Ctrl + N

Search for files

Ctrl + Shift + T

Ctrl + Shift + N

Both support simple regular expressions and also support abbreviations that are directly in uppercase letters, such as:

To find Jsontranscoder, just enter JT

Search All References

Ctrl + Alt + H

Alt + F7

Search for where all text appears

Ctrl + H

Ctrl + Shift + F

Edit

Auto-code completion

Alt +/

Ctrl + J

Automatic code generation

Alt + Insert

Quick Fix Errors

Ctrl + 1

Alt + Enter

Delete When moving forward

Ctrl + D

Ctrl + X

Copy to Next line

Ctrl + D

Comment/Uncomment

Ctrl +/

Ctrl +/

Select the current Word

Ctrl + W

Fill up when the forward

Ctrl + Shift + Enter

Artifact, complement when moving forward, the most commonly used scene when the current line complement the number, and position the cursor to the next line

Pull up the most recently copied n content

Ctrl + Shift + V

View recently edited files

Ctrl + E

Compare Recent Changes

Alt + Shift + C

Formatting code

Ctrl + Shift + F

Ctrl + Alt + L

Organize import

Ctrl + Shift + O

Ctrl + Alt + O

Jump

Show method Hierarchy

Ctrl + Shift + H

Display class, Method description

F2

Ctrl + Q

Skip to Method definition

Ctrl + B

Skip to method implementation

Ctrl + Alt + B

Jump to Up/down method

Alt + Up/down

Up/Down View

Alt + <-

Alt +->

Ctrl + Alt + up/down

Skip to specified line

Ctrl + L

Ctrl + G

Refactoring

Renamed

Alt + Shift + R

Shift + F6

Other common

Ctrl + F6 Modify method signature

Ctrl + Shift + F6 Modify the type of the parameter

Ctrl + Shift + v introduce local variables

Ctrl + Shift + P to introduce parameters

Ctrl + Shift + F introduces class variables

Ctrl + Shift + M Introduction method

Ctrl + Shift + C Introduce constants

Run

Start debugging

Alt + Shift + F9

Start run

Alt + Shift + F10

Single Step Into

F5

F7

Single Step Skip

F6

F8

Jump over

F8

F9

Execute the selected statement

Alt + F8

window

Pull up the interface

Ctrl + Alt + S pull out the settings interface

Ctrl + Alt + Shift + S to pull up Project setting interface

Close the interface

Ctrl + F4 or ESC

Open a Window

Alt + window Number (for example, item window number is 1)

Maximize window

Ctrl + M

Ctrl + Shift + F12

Hide Window

Shift + ESC

Close the current file

Ctrl + F4

Vertical split Screen

Ctrl + | (custom)

Adjust window Position

Ctrl + M Displays the current cursor at the center of the screen

Toggle Window

Ctrl + Tab




Related Article

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.