Shortcut Keys

Screen Shot 2016-03-11 at 7.24.09 AM.png


Alt + F1 Review file in Project View

Screen Shot 2016-12-03 at 7.08.49 AM.png


# Unit testing
Shift + Cmd + T Create new test class from current class
Cmd + N (Enter) Create new test in in test class
Cntrl + T Refactor this
Shift + Cntrl + R Run unit tests
Option + Up/Dwn Arrow Progressive selection

# Navigation
Cmd + B Goto method
Cmd + [] Back/forth

Option + Cmd + F Introduce field
Option + Cmd + V Introduce variable
Option + Cmd + M Extract method
Option + Cmd + N Inline temp
Option + Cmd + L Reformat



svn status
svn add foo.c
svn add --force images
svn delete bar.c
svn commit -m
svn update
svn revert --recursive .
svn diff -r r183848:r183682 int.pml

Setup ignore

export SVN_EDITOR=vi
svn propedit svn:ignore .

Keyboard shortcuts – AppCode

Ctrl Shift R - Run all tests
Shift Cmd J - Reveal in project finder
Shift Cmd up/down - move lines
Ctrl Cmd up - .m .h file
Cmd [] - Navigate back/forward
Shft Option Cmd L - reformat code

Keyboard shortcuts – XCode

How to open a file in the second window
Cmd + Sht + O (quick open) then Sht + Alt + Enter to select the second window
Cnt Cmd left right arrow - Last edit
Cnt Cmd J Jump to method definition
Opt Cmd Return - Pop open assistant (2nd window for editting)
Cnt Cmd  Move forward backward files in editor
Sht Cmd J Reveal in project navigator
Cmd J Focus edit area
Cnt Cmd up/down Flip between .m .h
Cnt Cmd  Flip forward/backwards files
Cmd L Goto line

Cmd 0 (zero) Hide navigation pane
Cmd Opt 0 (zero) Hide utilities pane
Cmd Return Hide assistant editor
Shf Cmd Opt click (file in navigator) Open file in new window
Cmd Shift {} Move between tabs

Cntl 6 - method list
Option Command Click - open method definition in assistant editor

Cmd Alt = Redisplay elements for autolayout

Alt - mouse over storyboard to see pixel distances
Cntl - Shift - Click - select embedded views xcode interface builds

Opt Cmd / - Comment section
Cntl- Cmd -e Edit all in scope

Arrow shifting in words - Preferences/Keyboard Shortcuts/Mission Control/Move left or right a space (turn off)

Quick Open

Shft Cmd O - quick open
Option Return - opens in assistant editor
Option Shift Return - opens navigation chooser - new tab


Cmd K Clear console
Cmd Y Remove all break points
Sht Cmd Y Show/hide console area
Debug - Ctnl - Cmd - Y Continue
Debug - step over - F6
Debug - step into - F7
Debug - stop out - F8


option + Cmd + c Review code changes
Cmd click - goto method
Option click - quick
Cnt + Option + Cmd + / verbose

Screen Shot 2017-05-18 at 1.11.58 PM.png


Ensure meta key enabled on terminal preferences
Option + Backspace Delete words
Option + <- -> jump words
Cntl + R Search back
Cntl + S Search fwd
Cntl + G Cancel
Cmd + Shift Double click select terminal text


Column selection – Left mouse + Option


Screen Shot 2017-03-15 at 6.38.20 AM.png

Search dirs for file containing text

grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"

Google Chrom

Command + L Focus search window
Command + Delete Clear search window
Command + <- -> Forward/back browser history
Shift + Command + T Open previous tab

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: