Eclipse's most useful shortcut keys __eclipse

Source: Internet
Author: User
Tags lowercase

****ctrl+1 Quick Fixes (most classic shortcuts, no more)
Ctrl+shift+o the required package for automatic import (a considerable number of times)
Ctrl+d: Delete the current row
ctrl+alt+↓ copy the current line to the next line ( Replication increase)
Ctrl+alt+↑ copy current row to previous line (replication increase)
Alt+↓ the current row and the following line of interaction (especially practical, you can save the first cut, then paste)
Alt+↑ the current row and the previous line of interactive position (IBID.)
Alt+shi The Ft+a block action
alt+← the previous edited page
alt+→ the next edited page (for the above article, of course)

Alt+enter Displays the properties of the currently selected resource (project, or file or file)
Shift+enter inserts a blank row on the next line in the current row (at which point the mouse can be either at any position in the current line, not necessarily the last)
Shift+ctrl+enter Inserts a blank line in the current line (principle above)
Ctrl+q to the last edit
Ctrl+l positioned on a line (for people over 100 of the program)
Ctrl+m maximize current edit or view (and then vice versa)
Ctrl + /Note the current line, and then uncomment the
Ctrl+o quick display OutLine
Ctrl+t quickly display the inheritance structure of the current class
Ctrl+w close the current editer
Ctrl+k refer to the selected word to quickly navigate to the next
Ctrl+e quickly displays the Drop-down list for the current editer (if the current page is not displayed in bold)
ctrl+/(keypad) collapses all code in the current class
Ctrl+x (keypad) expands all code in the current class
Ctrl+space code Assistant completes some code inserts (but general and the input method has the conflict, may modify the input method the hot key, may also take up alt+/to replace)
Ctrl+shift+e displays the manager that manages all currently open view (can choose to turn off, activate, etc.)
Ctrl+j Forward incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to locate a word, if not, the display in Stutes line is not found, the search for a word, especially practical, this function idea two years ago)
Ctrl + SHIFT+J Reverse incremental lookup (same as above, except from backward)
Ctrl+shift+f4 closes all open Editer
Ctrl+shift+x The currently selected text all sour lowercase
ctrl+shift+y Changes the currently selected text to all lowercase
ctrl+shift+f format The current code
Ctrl+shift+p to the matching character (for example, {}) (when positioned from the front, the cursor is in the match, back to the front, or vice versa)

The following shortcuts are commonly used in refactoring, I like and commonly used to tidy up (note: The general refactoring shortcuts are alt+shift the beginning of the)
Alt+shift+r rename (is my own favorite one, especially the variable and class rename, than manual method can save a lot of labor)
Alt+shift+m Extraction Method (This is one of the most commonly used methods in refactoring, especially for a large pile of mud code)
Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modify a fix)
Alt+shift+l extract Local variables (you can simply extract some magic numbers and strings into a variable, especially when multiple calls are made)
Alt+shift+f The local variables in class into field variables (more practical features)
Alt+shift+i Merge variables (this may be a bit inappropriate to say inline)
ALT+SHIFT+V move functions and variables (not commonly used)
Alt+shift+z re-construction of regret medicine (Undo)

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 Quick Fix ctrl1+1
Global Content Assist alt+/
All globally selected CTRL + A
Remove delete globally
Global Context information ALT +.
Alt+shift+?
Ctrl+shift+space
The Java Editor displays a tooltip description F2
Java Editor Select encapsulation element alt+shift+↑
The Java editor selects the previous element alt+shift+←
The Java editor selects the next element alt+shift+→
Text Editor Incremental Lookup ctrl+j
Text Editor incremental reverse lookup ctrl+shift+j
Global Paste Ctrl + V
Global Redo Ctrl+y

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

Window
scope function Shortcut keys
Global activation Editor F12
Global Toggle Editor Ctrl+shift+w
Global previous editor Ctrl+shift+f6
Global previous View Ctrl+shift+f7
Global previous Pivot Chart Ctrl+shift+f8
Global Next editor Ctrl+f6
Global Next View Ctrl+f7
Global Next Pivot Chart 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 Declaration F3
Global Open External Javadoc shift+f2
Global Open Resource Ctrl+shift+r
Global fallback history alt+←
Global forward History alt+→
The global last one CTRL +,
Global Next Ctrl +.
Java Editor Display outline Ctrl+o
Global open type in hierarchy Ctrl+shift+h
Global go to matching bracket ctrl+shift+p
Go global to previous edit location Ctrl+q
Java editor go to previous member ctrl+shift+↑
Java editor go to next member ctrl+shift+↓
Text editor go to row ctrl+l

Search
scope function Shortcut keys
Global appears in file Ctrl+shift+u
Global Open Search dialog box ctrl+h
Declarations 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
Roll line ctrl+↑ on text editor
Text editor roll down 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 Close 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 Format ctrl+shift+f
Java Editor Uncomment ctrl+\
Java Editor Annotation ctrl+/
Java Editor Add import ctrl+shift+m
Java Editor Organization import Ctrl+shift+o
The Java Editor uses try/catch blocks to surround settings that are too often used, so list them here and suggest yourself to set them.
You can also use ctrl+1 automatic correction.

Run
scope function Shortcut keys
Global Single Step Return F7
Global Single Step Skip F6
Global single Step hop into F5
Global Single Step Jump selection Ctrl+f5
Global debugging last started F11
Global Continue F8
Global Use filter Stepping Shift+f5
Global Add/Remove breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global run last started Ctrl+f11
Global Run to row ctrl+r
Global Execution Ctrl+u

Refactoring
Scope function shortcut key
Global undo refactoring Alt+shift+z
Global Extract Method Alt+shift+m
Global extract local variable alt+shift+l
Global inline Alt+shift+i
Global Move alt+shift+v
Global rename alt+shift+r
Global redo Alt+shift+y

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.