Skip to content

Instantly share code, notes, and snippets.

@josdem
Last active April 16, 2024 17:17
Show Gist options
  • Save josdem/84d3ea84d077526afdae44e8b4a6fdf3 to your computer and use it in GitHub Desktop.
Save josdem/84d3ea84d077526afdae44e8b4a6fdf3 to your computer and use it in GitHub Desktop.
#Open a File
Command + Shift + O
#Optimize imports in the current file
Control + Option + O
Control + Alt + O
#Duplicate a line
Command + D
#Find in all files
Command + Shift + F
#Delete a line
Command + delete
#Format code
Option + Command + L
Alt + Command + L
Cntr + Alt + L
#Refactor rename
Function + Shift + F6
#Go to implementation
Command + B
#Go to terminal
Special + Alt + F12
### Special commands
#Open TODO list
Command + 6
#Close a tab
Command + Function + F4
Cntrl + Power + F4
#Extract to variable
Command + Option + V
#Move another tab
Alt+Right / Alt+Left
Shift+Command+[ / Shift+Command+]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment