Eclipse Development Android,java Project shortcut Key Tips

Source: Internet
Author: User

工欲善其事 its prerequisite, the development of software in the IDE is an important step is the shortcut key settings, set their most familiar with the shortcut keys, development efficiency will be greatly improved. This post says my Eclipse shortcut key setting. The Eclipse shortcut keys I use are as follows:

(1) Ctrl + C CTRL + V: This does not say, you understand; (Eclipse comes with it)

(2) Ctrl+s: Save the current file quickly; (Eclipse comes with it)

(3) Ctrl+d: Delete the current line where the cursor is located; (Eclipse comes with it)

(4) Ctrl+f: Quick format Code; (Self-setting, personal because the format code ctrl+shift+f too cumbersome, so I set up the Ctrl+f, the original find shortcut keys I don't use a lot, so that's it)

(5) Ctrl+o: Quickly find variables in the current page, methods; (Eclipse comes with)

(6) Ctrl+shift+o: Quick Guide Package, but also can quickly delete the project does not need the package; (Eclipse comes with)

(7) ctrl+/: Quickly comment on a line of code, or uncomment a line of code; (Eclipse comes with it)

(8) alt+/: Code hints, code completion; (Eclipse comes with, this is too important, IDE development essentials)

(9) Ctrl+1: Quick prompt error, (Eclipse comes with, a line if an error or warning, the shortcut can quickly prompt the error, easy to modify)

(Ten) Shift+alt+m: Quickly extract code; (Eclipse comes with a piece of code that can be extracted directly to make a method that makes the code leaner and prettier)

(one) ctrl+alt+ direction key: Quickly copy the current line code to the previous line; (Eclipse comes with, making it easy to copy code, no need to select a line)

ctrl+alt+ Direction key: Quickly copy the current line code to the next line: (Eclipse comes with)

ALT + Direction key: Quickly move the current line code to the previous line; (Eclipse comes with, so your code moves anywhere in the current document)

ALT + Direction key: Quickly move the current line code to the next line; (Eclipse comes with it)

(shift+) arrow key: Quickly select a block of code area, you can select the row and column; (Eclipse comes with)

(CTRL+F11): Run the current project quickly; (Eclipse comes with it)


At present can only summarize so much, with the development of the depth, the master of the shortcut keys will be more and more, will also make development speed and efficiency greatly improved. The setup and use of Eclipse is relatively simple and familiar compared to Android studio. For the shortcut key settings, as long as you set up once, the next time you want to use the existing shortcut on another computer as long as the export preferences on the line, you can refer to my other article "Eclipse and Android Studio Preferences Preferences export and import."


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

Eclipse Development Android,java Project shortcut Key Tips

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.