Android Studio Linux Shortcuts

117 shortcuts · View all OS →

WindowsmacOSLinuxCompare all
Android Studio Linux keyboard shortcuts
ActionLinux Shortcut
Build & Run
Build projectCtrlF9
Run appShiftF10
Debug appShiftF9
Stop runningCtrlF2
Run with coverageCtrlShiftF10
Apply changesCtrlF10
Sync project with GradleCtrlShiftO
Save allCtrlS
Synchronize filesCtrlAltY
Apply code changesCtrlAltF10
Commit project to VCSCtrlK
Update project from VCSCtrlT
Show recent VCS changesAltShiftC
Open VCS popupAlt`
Code Editing
Code completion (basic)CtrlSpace
Code completion (smart)CtrlShiftSpace
Show intention actionsAltEnter
Reformat codeCtrlAltL
Optimize importsCtrlAltO
Duplicate lineCtrlD
Delete lineCtrlY
Move line upAltShiftUp
Move line downAltShiftDown
Comment / uncomment lineCtrl/
Comment blockCtrlShift/
Surround with…CtrlAltT
Complete statementCtrlShiftEnter
Inspect file with current profileAltShiftI
Layout Editor: Design or BlueprintB
Layout Editor: toggle orientationO
Layout Editor: switch deviceD
Layout Editor: force refreshR
Layout Editor: toggle render errorsE
Navigation Editor: nest graphCtrlG
Navigation Editor: cycle destinationsTabShiftTab
Navigation Editor: select all destinationsCtrlA
Generate codeAltInsert
Override methodsCtrlO
Implement methodsCtrlI
Fold or unfold current code blockCtrl-Ctrl+
Fold or unfold all code blocksCtrlShift-CtrlShift+
Quick documentationCtrlQ
Show method parametersCtrlP
Quick definitionCtrlShiftI
Expand code selectionCtrlW
Shrink code selectionCtrlShiftW
Select to code block startCtrlShift[
Select to code block endCtrlShift]
Auto-indent linesCtrlAltI
Indent or unindent linesTabShiftTab
Smart join linesCtrlShiftJ
Smart split lineCtrlEnter
Start new lineShiftEnter
Navigation
Search everywhereShiftShift
Go to classCtrlN
Go to fileCtrlShiftN
Go to declarationCtrlB
Go to implementationCtrlAltB
Find usagesAltF7
Navigate backAltLeft
Navigate forwardAltRight
Go to lineCtrlG
Recent filesCtrlE
Recently changed filesCtrlShiftE
Toggle Project tool windowAlt1
Open Version Control windowAlt9
Return to editorEsc
Add to favoritesAltShiftF
Switch IDE schemeCtrl`
Open IDE settingsCtrlAltS
Open project structureCtrlAltShiftS
Switch tabs and tool windowsCtrlTab
Find in editorCtrlF
Find nextF3
Find previousShiftF3
Replace in editorCtrlR
Find actionCtrlShiftA
Search symbol nameCtrlAltShiftN
Find in project pathCtrlShiftF
Show file structureCtrlF12
Jump to sourceF4CtrlEnter
Open editor tab in new windowShiftF4
Close editor tabCtrlF4
Hide active tool windowShiftEsc
Show type hierarchyCtrlH
Show method hierarchyCtrlShiftH
Show call hierarchyCtrlAltH
Fit layout preview to screenCtrl0
Actual size in layout previewCtrlShift1
Layout Editor: zoom inCtrl+
Layout Editor: zoom outCtrl-
Go to super method or classCtrlU
Toggle bookmarkF11
Toggle mnemonic bookmarkCtrlF11
Go to code block startCtrl[
Go to code block endCtrl]
Next or previous highlighted errorF2ShiftF2
Refactoring
RenameShiftF6
Extract variableCtrlAltV
Extract methodCtrlAltM
Extract fieldCtrlAltF
Extract constantCtrlAltC
InlineCtrlAltN
MoveF6
Copy by refactoringF5
Change signatureCtrlF6
Extract parameterCtrlAltP
Debugging
Toggle breakpointCtrlF8
Step overF8
Step intoF7
Step outShiftF8
Resume programF9
Evaluate expressionAltF8
View breakpointsCtrlShiftF8
Open Logcat windowAlt6
Smart step intoShiftF7
Run to cursorAltF9