Skip to content

Instantly share code, notes, and snippets.

@alifhasnain
Last active August 27, 2023 04:52
Show Gist options
  • Save alifhasnain/3bcc6c76d0a6f41ab1def226f8482f42 to your computer and use it in GitHub Desktop.
Save alifhasnain/3bcc6c76d0a6f41ab1def226f8482f42 to your computer and use it in GitHub Desktop.

Shortcuts

Open file in porject window: Alt+F1

Open project navigator Alt + 1

Move focus to editor Esc

Move Caret to Matching Brace Ctrl+Shift+M

Recent Files: CTRL + E

Last Edit Location : ctrl + shift + q

Quick Documentation : ctrl + q

Extent selection ctrl+w shrink selecion ctrl+shift+w

Extract Variable Ctrl+Alt+V

Extract Constants Ctrl+Alt+C

Extract Field Ctrl+Alt+F

Extract Parameter Ctrl+Alt+P

Navigae To Declaration ctrl + B it is alternet to Ctrl + left mouse button

Move Between Methods Alt+up/down arrow keys

Move to next/previous highlighted error F2 or Shift+F2

fun0 , fun1 , fun2 for kotlin method creation

Ctrl + . Collapse a custom section of code.

Ctrl + left click Show options for open in explorer.

Shift + left click Close a tab in the editor.

Ctrl + F12 Show fields and methods in a class. (shows layout items in layout file)

Alt + Up/Down Arrow Move between methods.

Alt + Insert on project view to add new files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment