Androidstudio development tool shortcut key finishing and sharing

Source: Internet
Author: User

here, self-organized in the use of Some of the shortcut keys used by the Androidstudio development tools, as well as saving time in the development process, may be used by most developers before the Eclipse development tools may start to get used to, But it takes a long time to become accustomed to it.

common shortcut keys are as follows :

CTRL + N: Find class

Ctrl+shift+n: Finding Files

Ctrl+alt+l: Formatting code

Ctrl+alt+o: Optimizing imported classes and Packages

ctrl+/: Comment code format:// code block

ctrl+shift+/: comment multi-line code format :/* code block */

Ctrl+alt+space ( space ): Auto-complete code

CTRL + space : Code Sense hints

Ctrl+alt+space: class name and interface name hints

Ctrl+shift+alt+n: finding methods and variables in a class

Ctrl+shift+c: Compare the recently modified code

Ctrl+alt+left/right: return to the last viewed location

ctrl+[ or ]: Can be adjusted to the beginning of the curly brace

Ctrl+shift+backspace: can jump to the last edit place

CTRL+F12: The structure of the current file can be displayed

Ctrl+alt+v: you can introduce variables. For example, to assign a variable to a SQL in parentheses

Ctrl+f7: You can query the current element's reference in the current file, and then press F3 to select

Ctrl+alt+t: The code can be wrapped within a block, such as Try/catch

CTRL+J: Automatic code

Ctrl+r: replacing text

Ctrl+e: recently opened file

Ctrl+h: show class structure diagram

Ctrl+f: Finding text

CTRL+P: parameter information for the prompt method

CTRL+Q: Cursor Check method displays detailed parameter information for this method

Ctrl+x: Deleting Rows

Ctrl+d: Copying rows

SHIFT+F6: class Rename

shift+alt+ up ARROW: code moves up

shift+alt+ down ARROW: code moves down

Alt+insert: Rapid generation of construction methods or Get,set methods

Alt+enter: Inductive code hints such as method transformation

ALT + ENTER: Import package, auto fix

ALT+F1: Find where the code is located

Alt+l: quickly open or hide the engineering panel

Alt+left/right: Toggle Code View

Alt+up/down: quickly move a location between methods

F2 or shift+f2: quick positioning in highlighting errors or warnings

Alt+shift+k : Note Class description < you need to set it yourself:settings--> Click keymap--> in the upper right-hand corner to search for other ( Fixdoc comment)-- See Fix doccomment right mouse button Select first, in input box firststroke input alt+shift+k

To create a class comment template : Setting-->editor-->fileand Code Templates-->includes-->file Header

Androidstudio Debug mode shortcut key :

Alt+f8 Check values when debugging

F8 equivalent to eclipse F6 jump to the next step

Shift+f8 equivalent to eclipse 's F8 jumps to the next breakpoint, also equivalent to eclipse 's F7 bounce function

F7 equivalent to eclipse 's f5 is entering into the code

Alt+shift+f7 This is mandatory entry code

Ctrl+shift+f9 Debug Run Java class

CTRL+SHIFT+F10 Normal Running Java class

COMMAND+F2 stop running

Ctrl+k: Submit SVN

To manually add the V7 package :

Mouse on the project directory right -openmodulesetting-dependenices Click the plus sign

also for APP Security vulnerability detection is generally used in love Test (www.ineice.com) online detection, recommend you can go to see Ah!


Androidstudio development tool shortcut key finishing and sharing

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.