Common Eclipse shortcut keys

Source: Internet
Author: User

Ctrl+k: Jumps to the next place where the character matches

Ctrl+shift+k: Jumps to the previous place where the character matches

Alt+shift+o: Toggle allows the same variable to be displayed on the right row marker

Ctrl+shift+g: See who is calling a method
Or the ctrl-alt-h after the point selection method,
or right-click the range of->references->project/hierarchy,workspace search >project>hierarchy

Ctrl+shift+t: Find a class under the current project

Ctrl+shift+r: Find a file under the current project

alt+← (→): before (after) an edited page

Alt+↓ (↑): Upper and Lower line interchange

Ctrl+alt+↓ (↑): Copy the current line to the next (top) row

F3: View the definition of an object or method. and Ctrl-click the object or method name

F4: Open type hierarchy

Ctrl+q: Jump to the last edited position

Ctrl+o: Displays a list of methods for the current class, which can be filtered according to the input

Ctrl+d: Delete When moving forward

Ctrl+l: Navigate directly to a row

Ctrl+e: Displays a list of files that have been opened and can be filtered based on input

Ctrl+shift+o (M): Automatic package import. M import to a single missing package, O Import all missing packages for the current class

ctrl+/: Add/Cancel Comments

Alt+shift+j: Add comments. Different annotation templates are generated automatically depending on location (class, method)

Ctrl+shift+f: Automatic layout of program code. You need to select a block of code before use, the simplest use is to use this after Ctrl + A.

Alt+shift+r: Renaming

Ctrl+t: Displays the inheritance structure of the current class

Ctrl+shift+p: Navigates to the matching character for. such as (). Matches of {} etc.

Ctrl+m: Maximizing the editing window

Ctrl+h: Open the Search box

Alt+shift+↑: Select the encapsulated element. Use at any point in a word to select the word

Common Eclipse 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.