Skip to content

Instantly share code, notes, and snippets.

@Epsiloni
Created December 29, 2015 13:47
Show Gist options
  • Select an option

  • Save Epsiloni/92e99d2d459d768d53cd to your computer and use it in GitHub Desktop.

Select an option

Save Epsiloni/92e99d2d459d768d53cd to your computer and use it in GitHub Desktop.
Notes from Mouseless Development

General

Help -> Productivity Guide.

  • Shift+⌘+A -> Look up any action with it's keymap.
  • Shift+Shift -> Look for everything.
  • ⌘+N -> New files.
  • Use live templates.
  • You can create your own quick lists.

Navigation

  • ⌘+E -> Recents files.
  • Shift+⌘+E -> Recents edited files.
  • Ctrl+Tab -> Switcher.
  • ⌘+O -> Goes to a class, if you add : and a number (e.g. :40) it will go to that file in that line number.
  • Shift+⌘+O -> Goes to file.
  • Alt+⌘+O -> Goes to symbol. you can limit it to some name space by doing CLASS.NAME_OF_SYMBOL.
  • ⌘+F12 -> Go to method.
  • ⌘+Up -> Jump to Navigation Bar.
  • ⌘+Y -> Overlay decleration instead of jump to decleration.
  • F4 -> (In the project view) Jump to source.
  • Ctrl+B -> Navigate to decleration.
  • ⌘+[ -> Navigate back.
  • ⌘+] -> Navigate forward.
  • Alt+⌘+B -> Navigate to implementations.
  • F2 -> Navigate to next highlighted error.
  • Shift+F2 -> Navigate to previous highlighted error.
    (Can select (from top of right gutter) "Go to high priority problems only")

Visual

  • Shift+⌘+F7 -> Highlight usages. Do it on a throw (for example) and it will show you all the places in that method that an exception is thrown (also works for return).
  • Shift+⌘+F12 -> Zen mode.
  • ⌘+⌘ -> Show all windows.
  • Shift+Ctrl+P -> Fullscreen + Presentation mode.
  • Shift+⌘+Right -> Stretch to Right.
  • Shift+⌘+Left -> Stretch to Left.
  • Ctrl+G -> Select Next Occurrence.
  • Ctrl+⌘+G -> Select all Occurrences.

Code Selection

  • Alt+Up -> Select Word at Caret (continuous).
  • Alt+Down -> Unselect Word at Caret (continuous).

Code

  • Shift+⌘+V -> Show clipboard history to choose from what to paste.
  • Alt+Shift+Up -> Move code up.
  • Alt+Shift+Down -> Move code down.
  • Shift+⌘+Retrun -> Complete current statement.
  • Alt+⌘+T -> Surround With Live Template.
  • ⌘+D -> Duplicate line.
  • Ctrl+Shift+Space -> Smart completion.
  • var.notNull -> Generates the if not null for you.
  • ⌘+J -> Get all the expressions you can use on a variable.
  • Alt+⌘+V -> Extract variable.

SCM

  • Ctrl+V -> VCS Operations Popup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment