Shortcuts - YamamotoDesu/Yamamoto-Notes GitHub Wiki

Xcode

  • Shrink the Sourcecode Editer
    Cmd + minus

  • Enlarge the Sourcecode Editer
    Cmd + Shift + plus

  • Show Snippets
    Cmd + Shift + l

  • Open a Finder Cmd + o

  • Go to the Definition
    ^ + Cmd + click

  • Delete a file
    Cmd + delete

  • Run Unit Test
    Cmd + U

  • Multi-Cursor Edit
    shift + control + left mouse click

  • Go to the definition
    ctl + Cmd + right click

  • Open an Assistant Editor
    ctl + option + cmd + return

  • Refactor Rename
    ctl + cmd + e

  • Run UT
    cmd + u

  • Open the left opened file
    cmd + shift + [

  • Open the right opened file
    cmd + shift + ]

  • open file with the different tab
    option + enter

  • go to the next hit on the search mode
    cmd + g

  • back to the next hit on the search mode
    cmd + shift + g

  • open a navigation tab which you want to open
    cmd + number

  • open a inspector tab which you want to open
    cmd + option + number

  • option + command + forward-slash
    Hotkey to document faster

  • command + option + [
    Move up a selected code

  • command + option + ]
    Move down a selected code

  • Command-Right-Arrow
    Rotate the simulator

  • Generate Doc
    command + option + /

Interface Builder

  • check constraints
    option + cursor over

  • Resize to Fit
    command + equal

Simulator

  • Change Dark/ Light Mode
    shift + Cmd + A

Playground

  • Run your code
    shift + Cmd + enter