eclipse-Common shortcut keys

Source: Internet
Author: User
Tags switches

1 , Ctrl + Shift+r : Opens a resource (not just for querying Java ) to open any file in your workspace. Find all the resources you choose, belonging to the search artifact, more convenient than the ctrl+h search.

2 , ctrl+ G : a declaration in the workspace that is used to see which interface or service layer is being called, and of course the variable is OK, but the variable is generally viewed with ctrl+ left mouse button, more convenient.

3 , ctrl+shift+g : in workspace reference ) , to find out all the callers of a method, to see where the implementation layer or interface layer is called, or to find all the callers who are one by one methods.

4 , ctrl-shift-t :  Open the implementation class for the interface, listing the specific definition file for the interface.

5 , ctrl+t: lists the specific implementation class list for the interface (viewing the inheritance tree of a class, you can see the parent class, subclass, interface of the method with the same name ) , It's top-down, and you press it one more time. Ctrl+t, will be replaced by a bottom-up display structure).

6 , ctrl+shift+l : Can list Eclipse all the shortcut keys (the Ultimate Command ).

7 , ctrl+shift+f : Formatting the current code

8 , ctrl+m : Large display screen can improve work efficiency is known to everyone. ctrl+m is the shortcut key for maximizing the editor window.

9 , Ctrl+o : You can list all methods and properties (members) in the current class.

Ten , ctrl+l : Positioning in a row ( for Those who have more than one program, there is the Gospel ) .

One , shift+table : All fallback one Table the position length.

12 , alt+enter : Display the currently selected resource ( project ,or file or file )

- , ctrl+1 : Quick Fix (the most classic shortcut keys , You don't have to say more ) .

- , Shift+enter : Cursor quickly switches to the next line after re-wrapping (for cases where the current cursor is no longer at the end of the line)

the : Ctrl+shift+enter : The cursor quickly switches to the previous line after re-wrapping (for cases where the current cursor is no longer at the end of the line).

- , Alt+shift+r : Rename ( in particular, the Rename of variables and classes can save a lot of labor than manual methods ) .

17 : ctrl+alt+d debugger Span style= "font-family: Imitation" > mode to open the current server

- : ctrl+alt+h : In Workspace in the search reference ( Reference ) , find out all the callers of a method, where the method used to view the implementation layer or interface layer is called, or any caller who is the one by one method. is actually consistent with the ctrl+shift+g effect.

eclipse-Common 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: 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.