Gaze shortcuts in eclipse

Source: Internet
Author: User

(1) Ctrl+space

Description: Content Assistant.

Provides hints for methods, variables, parameters, Javadoc, etc.
Should be shipped in a variety of occasions, in short the need to prompt when you can first press this shortcut key.
Note: Avoid the switch settings in the Input method conflict with this setting

(2) Ctrl+shift+space
Description: Variable hints
(3) ctrl+/
Description: Join/Remove//gaze, in eclipse2.0, eliminate gaze as ctrl+\

(4) ctrl+shift+/
Description: Join/* */Stare

(5) Ctrl+shift+\
Description: Remove/* */Stare

(6) Ctrl+shift+f
Description: Self-formatting code

(7) Ctrl+1
Description: Bulk Change the name of the variable in the source code, also can be used on the catch block.

(8) Ctril+f6
Description: Interface switch

(9) Ctril+shift+m
Description: Find the required package

(10) Ctril+shift+o
Description: Take the initiative to introduce the required package

(11) Ctrl+alt+s
Description: Source shortcut menu.

Among the generate getters and setters and Surround with Try/catch
Block is often used. It is recommended that they be added as shortcut keys. Shortcut keys set in Windows->preferences->workbench->keys

2. List of shortcut keys

Edit
scope function Shortcut keys
Global Find and replace Ctrl+f
Text Editor Find previous Ctrl+shift+k
Text Editor Find Next Ctrl+k
Global Undo Ctrl + Z
Global Replication Ctrl + C
Global Restore Previous selection alt+shift+↓
Global clipping Ctrl+x
Global High Speed correction ctrl1+1
Global Content Assist alt+/
Global all selected CTRL + A
Delete delete globally
Global context information ALT +? Alt+shift+? Ctrl+shift+space
Java Editor Display tooltip descriptive narrative F2
Java Editor Select encapsulated element alt+shift+↑
The Java editor selects the previous element alt+shift+←
The Java editor selects the next element alt+shift+→
Text Editor incremental find Ctrl+j
Text Editor incremental reverse lookup ctrl+shift+j
Global Paste Ctrl + V
Global Redo Ctrl+y

View
scope function Shortcut keys
Global magnification ctrl+=
Global Shrink ctrl+-

Form
scope function Shortcut keys
Global activation Editor F12
Global Switch Editor Ctrl+shift+w
Global on an editor Ctrl+shift+f6
Globally on a view CTRL+SHIFT+F7
Global on a Perspective view Ctrl+shift+f8
Global Next editor Ctrl+f6
Global Next View Ctrl+f7
Global Next Perspective Ctrl+f8
The text editor displays the ruler context menu Ctrl+w
Global Display View menu CTRL+F10
Global Display System Menu alt+-

Navigation
scope function Shortcut keys
Java Editor Open Structure ctrl+f3
Global Open Type Ctrl+shift+t
Global Open type Hierarchy F4
Global Open claims F3
Global Open External Javadoc shift+f2
Global Open Resource Ctrl+shift+r
Global fallback history alt+←
Global forward History alt+→
Global on a CTRL +,
Global Next Ctrl +.
The Java Editor displays outline Ctrl+o
Global open type Ctrl+shift+h in the hierarchy
Global go to matching parentheses ctrl+shift+p
Global go to previous edit location Ctrl+q
The Java editor goes to the previous member Ctrl+shift+↑
The Java editor goes to the next member Ctrl+shift+↓
Text editor go to line ctrl+l

Search
scope function Shortcut keys
Global out of the file now Ctrl+shift+u
Global Open Search dialog box ctrl+h
Claims in the global workspace Ctrl+g
References in the global workspace Ctrl+shift+g

Text editing
scope function Shortcut keys
Text Editor overwrite toggle Insert
Text Editor Roll Line ctrl+↑
The text editor scrolls the line ctrl+↓

File
scope function Shortcut keys
Global Save Ctrl+x Ctrl+s
Global Print Ctrl+p
Global Shutdown CTRL+F4
Global all Save Ctrl+shift+s
Global all off CTRL+SHIFT+F4
Global Properties Alt+enter
Global New CTRL + N

Project
scope function Shortcut keys
Global All Build Ctrl+b

Source
scope function Shortcut keys
Java Editor Formatting ctrl+shift+f
Java Editor cancels gaze ctrl+\
Java Editor Staring ctrl+/
Java Editor join import Ctrl+shift+m
Java Editor Organization import Ctrl+shift+o
The Java Editor uses try/catch blocks to surround the unused settings, too often used, so listed here, it is recommended to set yourself.
It is also possible to use Ctrl+1 's own initiative to correct.

Perform
scope function Shortcut keys
Global single-Step return F7
Global single-Step skip F6
Global single-step jump into F5
Global single-Step jump selection Ctrl+f5
Global Debug Last started F11
Global Continue F8
Global use filters single-step run Shift+f5
Global Join/Remove Breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global execution last started CTRL+F11
Global execution to row ctrl+r
Global Run Ctrl+u

Refactoring
scope function Shortcut keys
Global Undo Refactoring Alt+shift+z
Global Extraction Method Alt+shift+m
Global decimation local variable alt+shift+l
Global inline Alt+shift+i
Global Mobile Alt+shift+v
Global Rename Alt+shift+r
Global Redo Alt+shift+y

Reprint please specify the source http://blog.csdn.net/yc7369


How to get rid of all the other stares from the eclipse generated code in the catch block that I generated from eclipse let me set the "preferences" to not appear when generating code. But I will not remove the gaze in the generated catch code block, how to solve it. Thanks for the Java---editor--templates in the project options in Eclipse there's a try you know what's going on.
It is possible to remove the gaze and then not come out.

Gaze shortcuts in eclipse

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.