Seems like we can use ^⇧⌘↩︎ to focus/unfocus current editor, though even when the current editor gets unfocused, I'm not sure how to control what gets opened in the assistant editor.
I would like to know the keyboard shortcuts for:
Thank you!
Assistant Editor You are probably already familiar with Xcode's Assistant Editor. You can open the Assistant Editor by choosing Assistant from Xcode's Editor menu or by using its keyboard shortcut, Control + Option + Command + Return. Most developers leave the Assistant Editor underused, though.
Assistant Editor The Assistant Editor is harder to find as of Xcode 11 even though it is incredibly useful. Press Control + Option + Command + Return to show the Assistant Editor on the right.
You can open the editor from the Xcode menu Editor -> Assisant . Nowadays, the Assistant Editor is more seen as just a second editor next to the primary editor.
Note: ⌘^⇧↩︎ switches between double and single editor mode.
To open assistant editor:
Use ⌘ + ^ + ⇧ + ↩︎ to switch to double editor mode
After using ⌘ + ⇧ + o
to select a file, use
Option
+ ↩︎ to open in assistant editor(use ⌘ + J
and then ← → to switch editor focus)
To close assistant editor:
⌘ + ^ + ⇧ + ↩︎ to switch back to single editor mode
Pro Tip: You can always see the list of all available shortcuts on: -
Xcode -> Preferences -> Key Bindings
Then search the shortcut you want via the search bar.
Try to learn/muscle memorize new shortcuts on need to use basis ie if you find yourself performing certain action repetitively then maybe it's time for having a shortcut for that then visit the shortcut list or even make your custom shortcuts for that tasks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With