2013年11月3日星期日

eclipse shortcut key issues

I know some shortcuts, such as notes or something. But there are still a lot I do not know , someone is not able to share ? ? Grateful. . . .
------ Solution - -------------------------------------------
this online Soso a lot of ah , forget you paste over it:

1. commonly used shortcuts
(1) Ctrl + Space
Description : Content Assistant . Provides methods, variables , parameters , javadoc so was prompt ,
should be transported in a variety of occasions , in short, may be needed when prompted click shortcuts.
Note : Avoid switching input method settings conflict with this setting

(2) Ctrl + Shift + Space
Description : Variable Tips
(3) Ctrl + /
Description: add / remove / / comments in eclipse2.0 , eliminating annotated as Ctrl + /

(4) Ctrl + Shift + /
Description: Add / ** / comment

(5) Ctrl + Shift + /
Description : Eliminate / ** / comment

(6) Ctrl + Shift + F
Description : Automatic formatting code

(7) Ctrl +1
Description : Batch modify the source code of the variable name , but can also be used in catch block.

(8) Ctril + F6
Description: interface switching

(9) Ctril + Shift + M
Description : find the required package was

(10) Ctril + Shift + O
Description : Automatic introduction was needed to package

(11) Ctrl + Alt + S
Description : The source code was a shortcut menu. Which Generate getters and setters and Surround with try / catch
block more commonly recommended to add them as shortcuts. shortcut keys in windows-> preferences-> Workbench-> Keys

2. list of shortcuts

Edit
Scope function keys
global find and replace Ctrl + F
Find on a text editor Ctrl + Shift + K
text editor Find Next Ctrl + K
global revocation Ctrl + Z
Global Copy Ctrl + C
global recovery on a select Alt + Shift + ↓
Global Cut Ctrl + X
Global Quick Fix Ctrl1 +1
Global Content auxiliary Alt + /
Global Select All Ctrl + A
Global Delete Delete
global context information Alt +? Alt + Shift +? Ctrl + Shift + Space
Java Editor displays a tooltip description F2
Java editor, select the enclosing element Alt + Shift + ↑
Java editor, select the previous element Alt + Shift + ←
Java editor, select the next element Alt + Shift + →
text editor Ctrl + J Incremental search
text editor incremental reverse lookup Ctrl + Shift + J
Global Paste Ctrl + V
Global Redo Ctrl + Y

View
Scope function keys
Global Zoom Ctrl + =
Global narrow Ctrl + -

window
Scope function keys
global activate the editor F12
global switching Editor Ctrl + Shift + W
globally an editor Ctrl + Shift + F6
on a global view Ctrl + Shift + F7
on a global perspective Ctrl + Shift + F8
globally next editor Ctrl + F6
globally next view Ctrl + F7
globally a perspective view of the Ctrl + F8
text editor to display the ruler context menu Ctrl + W
Global Display the View menu, Ctrl + F10
Global Display System Menu Alt + -

navigation
Scope function keys
Java editor, open architecture Ctrl + F3
Global Open Type Ctrl + Shift + T
Global Open Type Hierarchy F4
global open declaration F3
Global open external javadoc Shift + F2
Global Open resource Ctrl + Shift + R
global history Alt + ← Back
global forward history Alt + →
globally a Ctrl +,
globally a Ctrl +.
Java editor shows the outline Ctrl + O
global open in the hierarchy type Ctrl + Shift + H
go global matching braces Ctrl + Shift + P Go on a global
Edit Location Ctrl + Q
Java editor to go on a member of the Ctrl + Shift + ↑
Java editor, go to the next member of the Ctrl + Shift + ↓
text editor, go to line Ctrl + L

search
Scope function keys
Global appear in the file Ctrl + Shift + U
Global Open the search dialog Ctrl + H
declare global workspace Ctrl + G
global workspace references Ctrl + Shift + G

text editing
Scope function keys
rewrite toggle Insert text editor
text editor on the rolling line Ctrl + ↑
line text editor and scroll down Ctrl + ↓

file
Scope function keys
global preservation Ctrl + X Ctrl + S
Global Print Ctrl + P
Global Close Ctrl + F4
globally Save All Ctrl + Shift + S
Global All off Ctrl + Shift + F4
Global Properties Alt + Enter
Global New Ctrl + N

Project
Scope function keys
Ctrl + B to build the global total

Source Code
Scope function keys
Java editor to format Ctrl + Shift + F
Java editor, uncomment Ctrl + /
Java editor notes Ctrl + /
Java editor to add import Ctrl + Shift + M
Java Editor Organize Imports Ctrl + Shift + O
Java editor using try / catch block to surround not set too common , so listed here , it is recommended to set their own .
You can also use Ctrl +1 automatic correction .

Run
Scope function keys
global single-step return F7
Global Step over F6 Step into the global
F5
Step into the global selection Ctrl + F5
global debugging last start F11
Global continues to F8
global single step using filters Shift + F5
global add / remove breakpoints Ctrl + Shift + B
Global Display Ctrl + D
global run last start Ctrl + F11
Global Run to Line Ctrl + R
global execution Ctrl + U

Reconstruction
Scope function keys
global revocation reconstruction Alt + Shift + Z
global extraction methods Alt + Shift + M
global extraction of local variables Alt + Shift + L
global inlining Alt + Shift + I
Global Mobile Alt + Shift + V
global renaming Alt + Shift + R
Global Redo Alt + Shift + Y





As the new companies are using eclipse + myEclipe plug-in development , myEclipse plug-ins for Hibernate and Struts support is much easier to operate than the IDEA , the original production of the Hibernate POJO and write their own ant configuration XML file , although You can achieve the same functionality, but ant to write really good time-consuming and inconvenient to find the problem after an error in the preparation of struts , the original has been hand-write XML, form, action and jsp, the efficiency of this development it is low , in order to later be able to integrate into the new working environment , to ensure development speed, must now learn eclipe use .

In fact, personal development tools that are roughly the same , differing only in the use of shortcuts and shortcut keys is to develop the weapon , so first start learning from the shortcut bar !

Eclipse Shortcuts Guide

This document finishing from the Eclipse software , is listed on the standard keyboard shortcuts are not listed Emacs shortcut keys.

Edit
Scope function keys
global find and replace Ctrl + F
Find on a text editor Ctrl + Shift + K
text editor Find Next Ctrl + K
global revocation Ctrl + Z
Global Copy Ctrl + C
global recovery on a select Alt + Shift + ↓
Global Cut Ctrl + X
Global Quick Fix Ctrl1 +1
Global Content auxiliary Alt + /
Global Select All Ctrl + A
Global Delete Delete
global context information Alt +?
Alt + Shift +?
Ctrl + Shift + Space
Java Editor displays a tooltip description F2
Java editor, select the enclosing element Alt + Shift + ↑
Java editor, select the previous element Alt + Shift + ←
Java editor, select the next element Alt + Shift + →
text editor Ctrl + J Incremental search
text editor incremental reverse lookup Ctrl + Shift + J
Global Paste Ctrl + V
Global Redo Ctrl + Y



View
Scope function keys
Global Zoom Ctrl + =
Global narrow Ctrl + -



window
Scope function keys
global activate the editor F12
global switching Editor Ctrl + Shift + W
globally an editor Ctrl + Shift + F6
on a global view Ctrl + Shift + F7
on a global perspective Ctrl + Shift + F8
globally next editor Ctrl + F6
globally next view Ctrl + F7
globally a perspective view of the Ctrl + F8
text editor to display the ruler context menu Ctrl + W
Global Display the View menu, Ctrl + F10
Global Display System Menu Alt + -


navigation
Scope function keys
Java editor, open architecture Ctrl + F3
Global Open Type Ctrl + Shift + T
Global Open Type Hierarchy F4
global open declaration F3
Global open external javadoc Shift + F2
Global Open resource Ctrl + Shift + R
global history Alt + ← Back
global forward history Alt + →
globally a Ctrl +,
globally a Ctrl +.
Java editor shows the outline Ctrl + O
global open in the hierarchy type Ctrl + Shift + H
go global matching braces Ctrl + Shift + P Go on a global
Edit Location Ctrl + Q
Java editor to go on a member of the Ctrl + Shift + ↑
Java editor, go to the next member of the Ctrl + Shift + ↓
text editor, go to line Ctrl + L


search
Scope function keys
Global appear in the file Ctrl + Shift + U
Global Open the search dialog Ctrl + H
declare global workspace Ctrl + G
global workspace references Ctrl + Shift + G


text editing
Scope function keys
rewrite toggle Insert text editor
text editor on the rolling line Ctrl + ↑
line text editor and scroll down Ctrl + ↓


file
Scope function keys
global preservation Ctrl + X
Ctrl + S
Global Print Ctrl + P
Global Close Ctrl + F4
------ For reference only ------------------------ ---------------
thank withheld adults . .

没有评论:

发表评论