Shortcut Keys for Mac Android Studio

Source: Internet
Author: User

Shortcut Keys for Mac Android Studio

Optional-> option | alt 
Shift> shift 
Allow-> control 
Commands> command 
Instances-> esc 
Too many connections →

CodeAlt + F7: Find usage
Alt + command + L: format the code alt + control + O: optimize import (Remove useless import) command + O: Override Methods
Command + I: Implement Methods
Command + B: Declaration view definition
Alt + command + B: Implementations view its implementation
Command + U: Super Method (Class)
Control + up and down arrow keys: Previous/Next Method
(Shift +) F2: locate by courier and highlight the error (deprecate, unused)
Command + Z: Undo
Shift + command + Z: Redo Typing
Alt + enter: Introduce the package, add comments...
Control + enter: generate setter, getter...
Shift + command + T: add Test
Command + W: Extend Selection
Shift + command + W: Shrink Selection
Command + P: parameter prompt
Command + Y (X): Delete the current row (cut the current row)
Command + F11: Add/cancel bookmark
Shift + F11: displays the bookmark list
Command ++/-: expand and contract the code
Shift + command + Up and Down arrow keys: Move Line Up/Move Line Down Search

Command + F: Find
Command + R: Replace
Control + shift + F: Find in Path
Control + shift progress + R: Replace in Path
Alt + command + left and right direction keys: Back/Forward operation
Command + E: Recent File
Shift + command + E: Recently Change Files
Shift + shift: Search Method or Class (Search Everywhere: command + N, shift + command + N, shift + alt + command + N)
Command + N: Search Class
Shift + command + N: Search File
Shift + alt + command + N: Search Symbol

Run/Debug

Shift + F10: Run
Shift + F9: Debug
Command + F9: Make Project
Shift + command + F9: Make Module
Command + F2: Close the currently executed task
Command + F8: Add/cancel a breakpoint
Shift + command + F8: View All Breakpoints
Debug:
F7: Step
F8: Step Over
Shift + F8: Step out
F9: resume
Alt + F9: Run to Cursor

Refactor

Shift + F6: Rename
Command + F6: Quickly modify function parameters, return values, or classes to add generics.
F6: Move a fast moving method or Class
F5: Copy quick mobile class
Alt + command + C: extract the Constant variable
Alt + command + V: extract Variable (Local Variable)
Alt + command + F: extract Field variables
Alt + command + M: Extract Method

Window

Control + left and right arrow keys: tab Switch
Alt + F4: Close the current tab
Esc + command: Switch the current window
Shift + esc: Hide the sidebar

VCS

Command + K: Commit Changes
Shift + command + K: Push Commit Changes
Command + T: Update Project

Setting

Command +,: Android Studio Preferences
Command +;: Project Structure

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.