Switch to eclipse Smart tips and shortcut keys

Source: Internet
Author: User

1, Java Smart tips

(1). Open Eclipse and select "Window-preferences" to open.

(2). Select "Java-editor-content Assist" on the Directory tree and "Auto-activation" on the right to find the "Auto Activation triggers for Java" option. The default triggering code hint is "." This symbol.

(3). In the "Auto Activation triggers for Java" option, set the "." Change:. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

2. Smart hints FOR XML

(1). Open Eclipse and select "Window-preferences" to open.

(2). Select "Xml-editor-content Assist" on the Directory tree and "Auto-activation" on the right to find the "Prompt when these characters is inserted" option.

(3). In the "Prompt when these characters is inserted" option, the "<=:," Change: <=:. ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW (,

3. Shortcut keys

(1) Ctrl+space

Description: Content Assistant. Provide tips on methods, variables, parameters, Javadoc, etc., should be shipped in a variety of occasions, in short, you need to prompt the time you can press this shortcut. Note: Avoid the switch settings in the Input method conflict with this setting

(2) Ctrl+shift+space

Description: Variable hints

(3) ctrl+/

Description: Add/Remove//comment, in eclipse2.0, remove comment as ctrl+\

(4) ctrl+shift+/

Description: Add/* */Comment

(5) Ctrl+shift+\

Description: Remove/* */Comment

(6) Ctrl+shift+f

Description: Automatic Formatting code

(7) Ctrl+1

Description: Bulk modification of variable names in source code, also available on catch blocks.

(8) Ctril+f6

Description: Interface switch

(9) Ctril+shift+m

Description: Find the package you need

(10) Ctril+shift+o

Description: Automatically introduces the required packages

(11) Ctrl+alt+s

Description: Source code to get a shortcut menu. Among them, generate getters and setters and Surround with Try/catchblock are more commonly used. It is recommended to add them as shortcut keys. Shortcut keys set in windows->preferences-> Workbench->keys

4. Tracking mode

Single Step Back F7

Single-Step Skip F6

Single-step jump into F5

Single-Step jump selection Ctrl+f5

Debug Last Boot F11

Keep F8.

Stepping Shift+f5 with filters

Add/Remove Breakpoints Ctrl+shift+b

Show Ctrl+d

Run the last boot ctrl+f11

Run To line Ctrl+r

Ctrl+u refactoring scope function shortcut keys

Undo Refactoring Alt+shift+z

Extraction Method Alt+shift+m

Extracting Local variables Alt+shift+l

Inline Alt+shift+i

Mobile Alt+shift+v

Renaming Alt+shift+r

Redo Alt+shift+y

Switch to eclipse Smart tips and 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.