Skip to content

Instantly share code, notes, and snippets.

@desbo
Last active February 1, 2016 15:15
Show Gist options
  • Save desbo/65adde7c5a4cee63fc8f to your computer and use it in GitHub Desktop.
Save desbo/65adde7c5a4cee63fc8f to your computer and use it in GitHub Desktop.

general

Keys Action Description
Cmd-Shift-A Search action by name search for any command/menu items
Alt-F1 Select target Open current file in project tree, finder, etc

opening files

Keys Action Description
Cmd-O Class search classes, traits, objects
Cmd-Alt-O Symbol search functions, vals etc
Cmd-Shift-O File search same as Sublime Cmd-P
Cmd-E Recent files shows list of recently opened files, type to filter
Cmd-Shift-E Recently edited files as above but only shows edited files
Cmd-↑ Show navigation bar alternative to project tree view, navigate dirs/files with arrows

searching

Keys Action Description
Cmd-Shift-F Find and replace main search panel, find in project etc
Cmd-Alt-F7 Show usages show usages in project
Alt-F7 Find usages as above, but opens in panel to allow grouping, filtering etc

navigation within files

Keys Action Description
Cmd-F12 File structure View symbols in current file
Ctrl-↑ / Ctrl-↓ Jump between functions move between definitions
Alt-↑ / Alt-↓ Expand/contract selection select surrounding semantic unit, increasing or decreasing size
Ctrl-G Select next match Highlight next match(es), multi cursor, same as Sublime Cmd-D

inspection

Keys Action Description
F1 Documentation Show signature and any comments for thing under caret (esc closes)
Cmd-P Parameter info Show params function accepts
Ctrl-Shift-P Show type Show type of expression
Cmd-Y Quick definition Show source of expression (in popup)
Cmd-B Go to definition Go to source in main editor window

debugging

Keys Action Description
Cmd-5 Toggle debug window
Ctrl-D Start debugging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment