Java,android: Shortcut keys in Eclipse (Classic collection) _android

Source: Internet
Author: User
Tags comments lowercase
1. Select the area you would like to annotate with ctrl+shift+c//comments
2. First of all the equipment you want to note selected, with shit+ctrl+/will be added * * * * * * comments
3. To correct the order in the Eclispe shortcut key style format We just go to the Windows-> preference-> General-> key settings on the line (turn)
Add: Select the area to annotate, ctrl+///Note 2010/09/13
When checked, ctrl+shift+\, remove the comment for the selected project group

attach a list of all the shortcut keys in MyEclipse
Ctrl+1 Quick Fix (the most classic shortcuts, not much to say)
Ctrl+d: Delete When moving forward
Ctrl+alt+↓ copy current line to next line (replication growth)
Ctrl+alt+↑ copy current line to previous line (replication growth)
Alt+↓ the current line and the following line of interactive status (rare practical, you can save the first cut, then paste)
Alt+↑ the current row and the upper line of interaction (IBID.)
alt+← the previous edited page
alt+→ the next edited page (for the top one, of course)
Alt+enter displays the properties of the current selection (project, or file or file)
Shift+enter inserts a blank line on the next line in the current row (at which point the mouse can be any position in the current line, not necessarily the last)
Shift+ctrl+enter inserts a blank line on the current line (the same as the preceding article)
Ctrl+q positioning to the last edited premises
Ctrl+l positioned on a line (the gospel for those who span 100)
Ctrl+m maximizes the current edit or view (and then vice versa)
ctrl+/comment Current line, then set aside comment
Ctrl+o Quick Display OutLine
Ctrl+t quickly displays the current class's persistent layout
Ctrl+w closes 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 shown 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 correct the input method the hot key, may also take up alt+/to replace)
Ctrl+shift+e shows the operator of all view that is currently open (optionally closed, activated, etc.)
Ctrl+j forward Incremental Lookup (when you press CTRL+J, each letter editor you enter provides a quick match to locate a word, and if not, it is not found in the Stutes line, and when you look up a word, it is very practical, and this function idea was available two years ago)
CTRL+SHIFT+J Reverse incremental lookup (same as above, just look forward from the back)
CTRL+SHIFT+F4 closed all open editer.
Ctrl+shift+x the currently selected text all sour lowercase
Ctrl+shift+y the text that is currently selected into lowercase
Ctrl+shift+f pattern of the current code
Ctrl+shift+p navigates to the matching character (for example, {}) (after the domain is positioned, the cursor is in the match, back to the front, and vice versa)

The following shortcuts are commonly used in refactoring, I like and often used to tidy up (note: General refactoring shortcuts are alt+shift open the first)
Alt+shift+r (is my own favorite one, especially the variable and class rename, than the manual way to save a lot of labor)
Alt+shift+m Extraction Method (This is one of the most commonly used methods of refactoring, especially for a large pile of mud code valid)
Alt+shift+c correcting function layout (Dou Jin practical, there are n functions called this method, correcting 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 variable in class into a field variable (Bucket strength practical function)
Alt+shift+i Merge variables (this may be said to be a bit improper inline)
ALT+SHIFT+V move functions and variables (not commonly used)
Alt+shift+z of Remorse Medicine (Undo)

Edit
affect domain function shortcut keys
Global Lookup and Exchange 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 correction ctrl1+1
Global content Help alt+/
All globally selected CTRL + A
Remove delete globally
Global high-low message Alt +?
Alt+shift+?
Ctrl+shift+space
Java Editor Display object hint 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
affect domain function shortcut keys
Global Amplification ctrl+=
Global Shrink ctrl+-

window
affect domain 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
Text Editor display ruler high-low menu ctrl+w
Global Display View menu CTRL+F10
Global Display System Menu alt+-

Navigating
affect domain function shortcut keys
The Java Editor opens the layout ctrl+f3
Global Open Type Ctrl+shift+t
Global open type hierarchy layout F4
Global Open Declaration F3
Global Open External Javadoc shift+f2
Global Open Data Ctrl+shift+r
Global Retreat Hedgehog History record alt+←
Global Progress History Record alt+→
The global last one CTRL +,
Global Next Ctrl +.
Java Editor Display program Ctrl+o
Global open type Ctrl+shift+h in a hierarchical layout
Global go to matching bracket ctrl+shift+p
Go global to previous edit status 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

plundering
affect domain function shortcut keys
Global present file in 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
affect domain function shortcut keys
Text Editor overwrite toggle Insert
Roll line ctrl+↑ on text editor
Text editor roll down line ctrl+↓

file
affect domain function shortcut keys
Global Save Ctrl+x
Ctrl+s
Global Print Ctrl+p
Global closed Ctrl+f4
Global all Save Ctrl+shift+s
Global all closed Ctrl+shift+f4
Global Properties Alt+enter
Global New CTRL + N

Project
affect domain function shortcut keys
Global All Build Ctrl+b

Source Code
affect domain function shortcut keys
Java Editor Pattern ctrl+shift+f
Java Editor Invalid comment Ctrl+java editor comment ctrl+/
Java Editor Add import ctrl+shift+m
Java Editor Organization import Ctrl+shift+o
The Java editor applies try/catch blocks to surround it. Not set, too often, so list here, suggest itself set.
You can also apply ctrl+1 active correction.

Run
affect domain 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 previous Boot F11
Global Continuous F8
Global Application Filter Single action line Shift+f5
Global Add/Remove breakpoints Ctrl+shift+b
Global Display Ctrl+d
Global Run previous boot ctrl+f11
Global Run to row ctrl+r
Global Performance Ctrl+u

Refactoring
affect domain function shortcut keys
Global Undo Refactoring Alt+shift+z
Global Extraction Method Alt+shift+m
Global extract 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
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.