Skip to content

Instantly share code, notes, and snippets.

@AKJAW
Last active October 7, 2019 11:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AKJAW/23f027dad7af98e86591a607b262416c to your computer and use it in GitHub Desktop.
Save AKJAW/23f027dad7af98e86591a607b262416c to your computer and use it in GitHub Desktop.
ctrl + i -> implement required methods
ctrl + o -> override methods
ctrl + p -> show required arguments
ctrl + w -> select
ctrl + e -> recent files
ctrl + space -> suggestions
ctrl + b -> view implementation
ctrl + n -> find class --
ctrl + h -> show hierarchy
ctrl + alt + l -> auto format code
ctrl + alt + m -> create a function from selected
ctrl + alt + [arrow<>] -> visit last place the cursor was
ctrl + shitf + [arrow^v] -> move whole block up or down
ctrl + shift + v -> paste from history
alt + shitft + [arrow^v] -> move selected line up or down
alt + enter -> suggest fix
==
shift + shift -> search everything
ctrl + shift + f -> Find usages (Grep)
autocomplete -> tab(overwrites to the right of the caret)
======Environment===
alt + number -> opens side windows
hold ctrl + tab -> switcher
shift + esc -> closes the last opened window
crtl + shift + F12 -> toggle all the windows
alt + left/right -> moves to sibling tab
alt + shift + left/right -> inside layout file move to Desing/Text
======Code==========
CamelHump -> navigate through camel case with ctrl
alt + down/up -> move to method signature
ctrl + shift + backspace -> move to last edit location
ctrl + shift + space | ctrl + alt + space -> smart code completion
ctrl + down/up -> scroll the page
ctrl + shift + J -> bring lines together
ctrl + w -> expand select
ctrl + shift + w > expand de-select
ctrl + y -> delete line
alt + j -> select next occurance
alt + shift + j -> unselect next occurance
ctrl + alt + shift -> refactor this
ctrl + alt + t | ctrl + shift + t -> surround with
ctrl + shift + enter -> complete current statement
Post fix completion -> .if
ctrl + b -> usages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment