The difference between Eclipse and Intellij idea shortcut keys

Source: Internet
Author: User
Tags save file

Describe

Eclipse

IntelliJ

Code completion

Ctrl+space

Ctrl+space

Open Class or interface

(Two Ides support the use of the "camel character" prefix to filter the lookup list, which makes it easy to complete the search; For example, you can use "Podi" to retrieve the Podcastdaoimpl class)

Ctrl+shift +t

CTRL + N

Quickly open files/resources

Ctrl+shift+r

Double-click Shift

Renaming

AlT+shift+r

Shift+f6

View javadoc/Details

Mouse over (F2 focus)

Ctrl+q

Quick fix

Alt+1

Alt+enter

Import all the required packages

Ctrl+shift+o

Ctrl+alt+o

Save File/Save All Files

Ctrl+s/ctrl+shift+s

Auto Save

Current file Quick Position popup (member, method)

Ctrl+o

Ctrl+f12

Source (Generate getter and setter, constructor, etc.)

Alt+up/alt+down

Alt+insert

Current syntax completion

Correct syntax constructs such as If,do-while,try-catch,return (method invocation) (e.g., adding parentheses)

Ctrl+shift+enter

Extracting constants

Ctrl+1-> Solid Extraction

Ctrl+alt+c

Extracting variables

Ctrl+1-> Extracting variables

Ctrl+alt+v

Adds a row to the current caret

Shift+enter

Shift+enter

Copy a line or code snippet

Ctrl+alt+up/down

Ctrl+d

Delete a line of code

Ctrl+d

Ctrl+y

Select code to move up or down

Alt+up/down

Shift+alt+up/down

Inheritance hierarchy of Classes

Ctrl+t

Ctrl+h

Cancel Revocation

Ctrl+y

Ctrl+shift+z

Check the Code

Ctrl+w

Formatting code

Ctrl+shift+f

Ctrl+alt+l

Navigate to a row

Ctrl+l

Compare the recently modified code

Alt+shift+c
Find/Search

Jump to the last place in code modification

Ctrl+q

Ctrl+shift+backspace

Find a class/variable to use in a workspace or project

Ctrl+shift+g

Alt+f7

Find text in a project or workspace

Ctrl+h (select File search)

Ctrl+shift+f

Navigation

Fallback (undo last navigation action)

Alt+left

Ctrl+alt+left

Navigating between labels/edits

Ctrl + Page Down/up

Alt + Left/alt + Right

Jump to a row

Ctrl+l

Ctrl+g

Navigate to the nearest file

Ctrl + E

Ctrl + E

Quick way to switch between editors

Alt + Up/down

Debugging

Run a row

F6

F8

Go to the next calculation

F5

F7

Run to the next breakpoint

F7

Shift+f8

Reply Run

F8

F9

The difference between Eclipse and Intellij idea shortcut keys

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.