Eclipse shortcut keys for Android development

Source: Internet
Author: User

As a qualified Android programmer and Eclipse user, the use of the Eclipse Accelerator is also essential, effective use of shortcut keys can help programmers greatly improve the efficiency of programming.

The following are some common shortcut keys for collecting and finishing:

1. alt+/Content Assistance (code hints, auto-completion)2. Ctrl+shift+o Automatic Guide Pack (ImportPackage )3. Ctrl +L go to a row4. ctrl+alt+↓ Copy the current line to the next line (copy incremented)5. ctrl+alt+↑ Copy the current line to the previous row (copy incremented)6. ALT +↓ The current line and the following line swap position (very practical, can be omitted first cut, then pasted)7. ALT +↑ The current line and the upper line exchange position (IBID.)8. Ctrl +D Delete the current line (cursor line)9. ctrl+/comment on the current line, and then cancel the comment again (select multiple lines to comment on all selected rows)ctrl+shift+/Note the selection (/*    */)Ctrl+shift+\. Uncomment the selected section (/*    */)Ctrl+1.Quick fix (Prompt for current error)ALT +← Location of previous editalt+→ the location of the next edit (for ALT +←)ALT +Enter Displays the properties of the currently selected resource (project, file)shift+.Enter to insert a blank line on the next line in the row that contains the cursorshift+ctrl+.Enter to insert a blank line in the line where the cursor is located (the contents of the line and after the original cursor are moved down). Ctrl +Q Navigate to the last edited place. Ctrl +M maximizes the current edit or view (and then vice versa). Ctrl +O Quick Display outline+. Ctrl +T quickly displays the inheritance structure of the current class. Ctrl +W Close Current Editer. Ctrl +K quickly navigates to the next selected word by referencing. Ctrl +E Quick display of the current Editer drop-down listctrl+/.(keypad) collapses all code in the current class. Ctrl +x (keypad) expands all code in the current classCtrl+space Code Helper to complete some code insertion (but the general and input methods are conflicting, you can modify the input method hotkey, you can also take up alt+/to replace)ctrl+shift+.E Displays the manager that manages all of the currently open view (you can choose to close, activate, and so on)ctrl+shift+.F4 Close all open editerctrl+shift+.X make the currently selected text all uppercasectrl+shift+.Y turns the currently selected text all lowercasectrl+shift+.F Formatting The current codectrl+shift+.P position the match (for example {})ctrl+shift+.T Open Type search scope feature shortcut key 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 Run scope function shortcut Global Single step back F7 global single-step skip F6 Global Single Step Into F5 global single-step jump Select Ctrl+F5 Global Debug last started F11 global continue F8 Global use filter stepping Shift+F5 Global Add/Remove Breakpoint ctrl+shift+B Global Display Ctrl+D Global Run last start Ctrl+F11 Global Run to row Ctrl+R Global Execution Ctrl+U-Refactoring scope function shortcut Global undo refactoring Alt+shift+Z Global Extraction method Alt+shift+M Global decimation local variable Alt+shift+L Global Inline Alt+shift+I Move the Alt globally+shift+V Global Rename Alt+shift+R Global Redo Alt+shift+y

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.