KalyanChakravarthy.net

Thoughts, stories and ideas.

Xcode: Keyboard shortcuts for assistant editor

Most of the time I just need 2 code panes on my main monitor, for which using ⌥⌘↩ or Option-Command-↩ usually does the job. Sometimes I need to see more than 2 files on the same screen and I always keep forgetting how to do that in Xcode. Here is it on record for posterity.

There are 2 ways

  1. View -> Assistant Editor -> Add Assistant editor
  2. Command-Shift-O -> Select file -> Command+J