0% found this document useful (0 votes)
57 views

App Code

This document provides keyboard shortcuts for various code editing, navigation, refactoring, debugging, and other functions in an integrated development environment (IDE). Some of the highlighted shortcuts include finding and replacing text, navigating to declarations and implementations, running and debugging code, using code templates, and toggling bookmarks. Over 50 keyboard shortcuts are listed covering a wide range of common development tasks.

Uploaded by

reyziel bargan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

App Code

This document provides keyboard shortcuts for various code editing, navigation, refactoring, debugging, and other functions in an integrated development environment (IDE). Some of the highlighted shortcuts include finding and replacing text, navigating to declarations and implementations, running and debugging code, using code templates, and toggling bookmarks. Over 50 keyboard shortcuts are listed covering a wide range of common development tasks.

Uploaded by

reyziel bargan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SEARCH AND REPLACE REFACTORING

Find Replace
/ ⌘F / ⌘R Refactor This ⌃T
Find next previous
/ ⌘G / ⇧⌘G Copy Move
/ F5 / F6
EDITING Find Replace in path
/ ⇧⌘F / ⇧⌘R Safe Delete ⌘⌫
Basic code completion ⌃Space Rename Change Signature
/ ⇧F6 / ⌘F6
Smart code completion ⇧⌃Space USAGE SEARCH Inline ⌘⌥N
Complete statement ⇧⌘↩ Find usages Find usages in file
/ ⌥F7 / ⌘F7 Extract Method ⌘⌥M
Parameter info ⌘P Highlight usages in file ⇧⌘F7 Extract Variable Constant
/ ⌘⌥V / ⌘⌥C
Quick Documentation F1 Show usages ⌘⌥F7 Extract Parameter ⌘⌥P
External Documentation ⇧F1 Extract Property ⌘⌥E
Brief Info ⌘Mousehover NAVIGATION Extract Instance Variable ⌘⌥F
Show description of error warning at caret
/ ⌘F1 Go to class file symbol
/ / ⌘O / ⇧⌘O / ⌘⌥O
Generate Code ⌘N Go to next previous editor tab
/ ⇧⌘] / ⇧⌘[ COMPILE AND RUN
Override Implement methods
/ ⌃O / ⌃I Go back to previous tool window F12 Build Project ⌘F9
Surround with ... ⌘⌥T Go to editor from tool window
( ) ⎋ Run Debug
/ ⌃R / ⌃D
Move statements up down / ⇧⌘↑ / ⇧⌘↓ Hide active or last active window ⇧⎋ Select configuration and run debug
/ ⌃⌥R / ⌃⌥D
Comment with line comment ⌘/ Close active tool windows tab ⇧⌃F4 Run Debug context configuration
/ ⇧⌃R / ⇧⌃D
Comment with block comment ⌘⌥/ Go to line ⌘L Run Anything Double⌃
Expand shrink selection
/ ⌥↑ / ⌥↓ Recent files popup ⌘E
Context info ⇧⌃Q Navigate back forward / ⌘[ / ⌘] DEBUGGING
Show intention actions and quick fixes
- ⌥↩ Navigate to last edit location ⇧⌘⌦ Step into over out
/ / F7 / F8 / ⇧F8
Reformat code ⌘⌥L Select current file or symbol in any view ⌥F1 Run to cursor ⌥F9
Optimize imports ⌃⌥O Go to related header or source file ⌃⌘↑ Evaluate expression ⌥F8
Indent unindent selected lines
/ ⇥ / ⇧⇥ Go to definition ⌘B Resume program ⌘⌥R
Cut current line to clipboard ⌘X Go to implementation s ( ) ⌘⌥B Toggle breakpoint ⌘F8
Copy current line to clipboard ⌘C Open quick definition lookup ⌥Space View breakpoints ⇧⌘F8
Paste from clipboard ⌘V Go to type declaration ⇧⌘B
Paste from recent buffers ⇧⌘V Go to super method super class
- / - ⌘U LIVE TEMPLATES
Duplicate current line or selected block ⌘D Go to previous next method
/ ⌃↑ / ⌃↓ Surround with Live Template ⌘⌥J
Delete line at caret ⌘⌦ Move to code block end start / ⌘⌥[ / ⌘⌥] Insert Live Template ⌘J
Smart line join ⇧⌃J File structure popup ⌘F12
Smart line split Start new line
/ ⌘↩ / ⇧↩ Type call method hierarchy
/ / ⌃H / ⌃⌥H / ⇧⌘H GENERAL
Toggle case ⇧⌘U Next previous highlighted error
/ F2 / ⇧F2 Search Everywhere Double⇧
Select till code block end start/ ⇧⌘⌥] / ⇧⌘⌥[ Jump to source ⌘↓ Find any IDE action ⇧⌘A
Delete to word start end / ⌥⌫ / ⌥⌦ Toggle bookmark with mnemonic / F3 / ⌥F3 Open corresponding tool window ⌘0...⌘9
Expand collapse code block
/ ⌘+ / ⌘- Go to numbered bookmark ⌃0...⌃9 Hide all tool windows ⇧⌘F12
Expand collapse code block recursively
/ ⌘⌥+ / ⌘⌥- Show bookmarks ⌘F3 Add to Favorites ⇧⌥F
Expand collapse all
/ ⇧⌘+ / ⇧⌘- Inspect current file with current profile ⇧⌥I
Close active editor tab ⌘W VERSION CONTROL Quick switch current scheme ⌃`
Place the caret in multiple locations ⌥⇧Click Commit push project to VCS
/ ⌘K / ⇧⌘K Switch between tabs and tool windows ⌃⇥
Toggle column selection mode ⇧⌘8 Update project from VCS ⌘T
Select next unselect previous occurrence
/ ⌃G / ⇧⌃G View recent changes ⇧⌥C
Select all occurrences ⌃⌘G VCS actions ⌃V

You might also like