Android Studio Mac shortcut key sorting and sharing, androidstudio

Source: Internet
Author: User

Android Studio Mac shortcut key sorting and sharing, androidstudio

Code highlighting

OSX: Shift + Cmd + F7

Win/Linux: Alt + J


Code highlight and search up

OSX: Shift + Cmd + G

Win/Linux: Shift + F3


Code highlight and downward search

OSX: Cmd + G

Win/Linux: F3


File method Structure

OSX: Cmd + F12

Win/Linux: Ctrl + F12


Locate the call location

OSX/Win/Linux: Ctrl + Alt + H


Quick Search for definitions

OSX: Cmd + Space

Win/Linux: Ctrl + Shift + I


Collapse and expand code blocks

OSX: Cmd + Plus, Minus

Win/Linux: Ctrl + Shift + Plus/Minus


Collapse and expand all code blocks

OSX: Cmd + Shift + Plus, Minus

Win/Linux:


Add bookmarks

OSX: F3

Win/Linux: F11


Add a bookmarks

OSX: Alt + F3

Win/Linux: Ctrl + F11


Show bookmarks

OSX: Cmd + F3

Win/Linux: Shift + F11


Search action

OSX: Cmd + Shift +

Win/Linux: Ctrl + Shift +


Move code up/down

OXS/Win/Linux: Alt + Shift + Up/Down


Delete row

OSX: Cmd + Delete

Win/Linux: Ctrl + Y


Copy rows quickly and downwards

OSX: Cmd + D

Win/Linux: Ctrl + D


Expand and narrow the selected range

OSX: Alt + Up/Down

Win/Linux: Ctrl + W/Ctrl + Shift + W


Quickly generate struct

OSX: Cmd + Alt + T

Win/Linux: Ctrl + Alt + T


Quick overwriting Method

OSX: Ctrl + O

Win/Linux:


Quickly locate the beginning/end of a row

OSX: Cmd + Left/Right


Generate code according to template

OSX: Cmd + J

Win/Linux: Ctrl + J

Or.


Code annotation (//)

OSX: Cmd +/

Win/Linux:


Code annotation (/**/)

OSX: Cmd + Alt +/

Win/Linux:


Format code

OSX: Cmd + Alt + L

Win/Linux:


Quick Selection

OSX: Alt + F1

Win/Linux: Alt + F1


Quick mobile

OSX: Ctrl + Up/Down

Win/Linux:


Quick Return to the end of a row

OSX: Ctrl + Shift + J

Win/Linux: Ctrl + Shift + J



Quick recently opened

OSX: Cmd + E

Win/Linux: Ctrl + E


Clear invalid reference

Alt + Control + O

Win/Linux: Alt + Control + O


Code Completion

Cmd + Shift + Enter

Win/Linux: Ctrl + Shift + Enter


Error message Solution

Alt + Enter

Win/Linux: Alt + Enter


Prompt parameter type

Cmd + P

Win/Linux: Ctrl + P


Search + replace

Cmd + R

Win/Linux: Ctrl + R


Search

Cmd + F

Win/Linux: Ctrl + F






Shortcut Keys for Android Studio

You can change it in settings-keymaps. If you have used eclipse before, you can switch it to the eclipse one. If you are used to visual studio, switch to.

Mac shortcut keys

1. Press ......

Click the mouse button to bring up the removable media (Boot ROM earlier than version 2.4f1 may not include exiting the CD)
The Option key indicates the "Open Firmware" System Selection Function on the host with the "New World" Firmware system.
Press the apple key + Option key and hold down the two keys until the computer makes a second sound, it will change to Mac OS 9 boot.
Apple key + x (sometimes only press the x key) If Mac OS 9 and Mac OS X are in the same boot hard drive partition, press this key to force OS X to boot.
The apple key + Option + shift + delete skips the original boot disk and changes the disk (or optical drive) to boot. The main function of this button is to force the computer not to read the system file from the preset boot disk, so it will produce "Side effects" of starting from other disks 」. If your Mac is equipped with a SCSI interface, it searches for the drive with the highest ID until it finds the disk segment that can be started. As a result, the search order of the device with the IDE interface is not determined.
Apple key + Option + shift + delete + # open from the SCSI disk of the specified ID? # Represents the SCSI number ).
The apple key + Option + p + r clears the system parameter memory (PRAM). you must press and hold it down before releasing it after making two noises.
The apple key + Option + n + v clears the nv ram, similar to the "reset all" (reset + all) Action in Open Firmware.
When the apple key + Option + o + f is started, open firmware is entered.
Apple key + Option + t + v force Quadra AV to use an external TV as the monitor.
The apple key + Option + x + o starts the system software installed in the read-only memory (only applicable to Mac Classic ).
Apple key + Option + a + v force the computer to recognize the apple AV display.
C. Start the instance with a CD. If OS x is set to boot, but no boot disc is in the drive, it may be changed to OS 9.
D. Force the internal drive to start up.
N press and hold the n key until the Mac sign is displayed on the screen, and the computer tries to boot the network server through BOOTP or TFTP.
R forces PowerBook to reset Screen Settings.
T forces machines with the FireWire interface to enter the external Disk mode (FireWire Target Disk mode ).
Shift disables all extended functions (OS 9 or Classic environment under OS X ).
Shift to close the login project, and disable all unnecessary kernel extension functions (that is, the so-called safe Boot Mode, applicable only to OS X 10.1.3 or the updated system version ).
When the apple key is turned on, Virtual Memory (Virtual Memory, applicable only to Classic environments under OS 9 or OS X) is disabled ).
When the blank key is enabled, start the Extended Function Management Program (OS 9 or Classic environment under OS X ).
The console information is displayed during the startup of the apple key + v (only applicable to OS X ).
The apple key + s enters the single user mode after the boot (only applicable to OS X ).
The apple key + Option + c + I first sets the system clock to April 8, September 20, 1989, and then starts the system with this key combination, the screen displays special system secrets (only applicable to Mac IIci ).
The apple key + Option + f + x first sets the system clock to April 8, March 19, 1990, and then starts the system with this key combination, the screen displays special system secrets (only applicable to Mac IIfx ).

2. Press when there is a small Mac smile on the screen ......

When the blank key is enabled, start the Extended Function Management Program (OS 9 or Classic environment under OS X ).
Shift closes the entire text, including MacsBug (a program designer tool)...>
 

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.