Android Eclipse hints Java code shortcut keys

Source: Internet
Author: User

1. Hint Java code can use the alt+/key (if you want to send the first letter of the class or method you need), I added: As long as the input sysout, and then alt+/ Key can output System.out.prinln (), previously always thought their speed quickly, never thought this shortcut key is too easy to use.
2.ctrl+m Current Window maximization
3. CTRL+F7 View window switch
4. Ctrl+f8 mode switch
5.ctrl+f6 edit window Toggle (the finger is too big and unsightly)
6.ctrl+e edit window Toggle (This is a bit more elegant:))
(Useful shortcuts, recommended for use with Ctrl+q: Return to the last edited place)
8.ctrl+alt+↓ Copy (increase) The current line to the next line ctrl+alt+↑ copy (increase) The current line to the previous line alt+↓ the current row and the following line interact (without clipping) alt+↑ the current row and the row above interact Location
9.ctrl+d Delete When moving forward
alt+enter Display the properties of the currently selected file (this shortcut is really useful when necessary, no longer need to right click on the project file, then click on Path to copy the project path, with it, open directly, Copy the project path and the path stored in the computer, it is very useful, personal highly recommended)
11.shift+enter Inserts a blank row (the next row) in the current row shift+ctrl+enter inserts a blank row (the previous row) in the current row 12.ctrl+q to the last edited location
Ctrl+l positioning in a specific line
< Span style= "Color:rgb (70,70,70); Font-size:14px ">    14, ctrl+/notes the current line (multiple lines), then cancels the comment (   
    15. Ctrl+shift+r Find File Ctrl+shift+t Find class  
       ctrl+shift+u list the results of the query to  
    16.ctrl+k the selected word quickly navigates to the next ctrl+shift+k the selected word quickly navigates to the previous            17.ctrl+/(numpad) collapses all code in the current class ctrl+x (keypad) expands all code in the current class ctrl+shift+p navigates to the match for (such as {}, ()) Ctrl+shift +x the case (uppercase) of the toggle character ctrl+shift+y the case (lowercase)   of the toggle character;
 - . ctrl+1 jump out of help when a row is wrong or warning
CTRL+SHIFT+F format typesetting alt+shift+r re-life
(Easy to change and class names) (be sure to remember the quick
Czech key, not one)
Alt+shift+c Modify the Function node Alt+shift+m refactoring method (select the method to refactor, regenerate to a new method) Alt+shift+z refactoring restore ctrl+w close the current window Ctrl+shift+f4 close all open windows Ctrl+shift +o:import related classes, and if the already import class, is not used, it is deleted. If you want to prompt in JSP: Fight it out.
20. Enlarge The Recruit, others say the best to stay in the last side:
Shortcut keys for code folding, which by default are:

Ctrl+shift+numpad_divede (keypad/number)

Ctrl+shift+numpad_multiply (Keypad's * number)
If you do not have a keyboard, you have to customize the shortcut keys.
refer to this post: HTTP://BLOG.SINA.COM.CN/S/BL Og_4034d92f0100njdi.html thanked the predecessor. 

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Eclipse hints Java code shortcut keys

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.