MAC Android Studio shortcut key finishing _ios

Source: Internet
Author: User

In order to improve work efficiency, specially finishing the Mac version of the Android Studio shortcut keys collation, if follow-up, and continue to add!

⌥-> Option|alt
⇧->shift
⌃->control
⌘->command
⎋->esc
↑↓←→

Code

Alt+f7:find usage
Alt+command+l: Formatting code
Alt+control+o: Optimize import (remove unwanted 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 direction key: Previous/next method
(shift+) F2: Express location and highlight error (deprecate,unused)
Command+z:undo Revocation
Shift+command+z:redo Typing
Alt+enter: Introduce packages, add comments ...
Control+enter:generate Setter,getter ...
Shift+command+t: Adding test
Command+w:extend Selection
Shift+command+w:shrink Selection
Command+p: Parameter Hints
Command+y (X): Delete current row (cut current row)
COMMAND+F11: Add/Cancel Bookmark
SHIFT+F11: Show Bookmark list
command++/-: Expand Shrink Code
Shift+command+ up and down direction key: Move Line Up/move

Search

Command+f:find
Command+r:replace
Control+shift+f:find in Path
Control+shiftï+r:replace in Path
Alt+command+ left and right direction key: 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: Closes the current executed task
Command+f8: Add/Remove Breakpoints
Shift+command+f8: View All Breakpoints
Debug:
F7:step into
F8:step over
Shift+f8:step out
F9:resume
Alt+f9:run to Cursor

Refactor

SHIFT+F6: Renaming
COMMAND+F6: Quickly modify function parameters, return value or class add generics, etc.
F6:move fast Move method or class
F5:copy fast Moving class
ALT+COMMAND+C: Extracting constant variables
ALT+COMMAND+V: Extracting variable (local variable)
Alt+command+f: Extracting field variables
Alt+command+m: Extract Method

Window

Control+ left and right direction key: Tab switch
ALT+F4: Close Current tab
Esc+command: Toggle the current Window
Shift+esc: Hide Sidebar

Vcs

Command+k:commit Changes
Shift+command+k:push Commit Changes
Command+t:update Project

Setting

Command+,:android Studio Preferences
Command+;:project Structure

Thank you for reading, I hope to help you, thank you for your support for this site!

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.