Android Studio useful shortcuts
Let me introduce Android Studio useful shortcuts when I develop Android application.
Extract variable
-window : Ctrl + Alt + V
-mac : Cmd + Opt + V
Generate code
-window : Alt + Insert
-mac : Cmd + N
Duplicate current line or selection
-window : Ctrl + D
-mac : Cmd + D
Delete line at caret
-window : Ctrl + Y
-mac : Cmd + delete
Override methods
-window : Ctrl + O
-mac : Ctrl + O
Implement methods
-window : Ctrl + I
-mac : Cmd + I
Optimize imports
-window : Ctrl+Alt+O
-mac : Ctrl + Opt + O
Line change
-window : Ctrl + Shift + up/down
-mac : Cmd + Shift + up/down
View breakpoints
-window : Ctrl + Shift + F8
-mac : Cmd + Shift + F8
Navigate to File
-window : Control + Shift + N
-mac : Cmd + Shift + O
Show File Structure
-window : Ctrl + F12
-mac : Cmd + F12
Open settings dialog
-window :Ctrl + Alt + S
-mac : Cmd + ,(comma)
Open project structure dialog
-window : Ctrl + Alt + Shift + S
-mac : Cmd + ;
Switch between tabs and tool window
-window : Ctrl + Tab
-mac : Ctrl + Tab
Surround with(if...else, try...catch)
-window : Ctrl + Alt + T
-mac : Cmd + Opt + T
Toggle bookmark
-window : F11
-mac : F3
Toggle bookmark with mnemonic
-window : Ctrl + F11
-mac : Opt + F3
Navigate between open editor tabs
-window : Alt + right/left
-mac : Ctrl + right/left
Rename
-window : Shift + F6
-mac : Shift + F6
Safe delete
-window : Alt + Delete
-mac : Cmd + Delete
Go to last edit location
-window : Ctrl + Shift + Backspace
-mac : Cmd + Shift + Delete
Toggle project tool window visibility
-window : Alt + 1
-mac : Cmd + 1
Move to code block start/end
-window : Ctrl + [ / ]
-mac : Opt + Cmd + [ / ]
Select to the code block start / end
-window : Ctrl + Shift + [ / ]
-mac : Cmd + Opt + Shift + [ / ]
Delete word
-window : Ctrl + Delete
-mac : Opt + delete
Smart line join
-window : Ctrl + Shift + J
-mac : Ctrl + Shift + J
Smart line split
-window : Ctrl + Enter
-mac : Cmd + Enter
Start new line
-window : Shift + enter
-mac : Shift + enter
Build and run
-window : Shitf + F10
-mac : Ctrl + R
댓글 없음:
댓글 쓰기