Shortcut Keys

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

IntelliJ


# 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

#Refactoring
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

Checkin

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 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

Quick Open

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

Debugger

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

Documentation

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

Unix

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

Search dirs for file containing text
http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-on-linux

 

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: