Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 assistant editor toggle key

In xcode4 you there's a key combo to show standard editor and one to show the assistant editor, but is there any way to use just one key combo to toggle between them? Similar to using command+option+up-arrow to cycle between related files.

like image 341
Christian Schlensker Avatar asked Jun 13 '11 17:06

Christian Schlensker


3 Answers

Yes, to toggle between the Standard and Assistant editors, use Cmd+Option+Return

like image 80
Gary Readfern-Gray Avatar answered Oct 17 '22 08:10

Gary Readfern-Gray


To show Assistant Editor:
command shift Enter

To hide Assistant Editor (i.e. To show Standard Editor):
command Enter
[it thus hides the Assistant Editor]

like image 23
Daksh Avatar answered Oct 17 '22 08:10

Daksh


Customize the "Move Focus To Next Area" key binding under Preferences. (This automatically customizes the "Move Focus to Previous Area" binding by adding Shift to your binding.)

I changed mine to Control + Tab to follow the behavior of tab switching in Safari, Chrome, etc.

Pressing Shift + Control + Tab to go back to the previous area feels awkward, but because it doesn't seem possible to customize "Move Focus to Previous Area" alone, there's no way to escape the Shift modifier.

For example, I would love to try this scheme:

  • Command + Control + ] // next
  • Command + Control + [ // previous

That would play nicely with Command + Control + {} for switching between tabs; your fingers are probably already on Command + Control as you get your window contents set up with the default forward/back/related bindings.

like image 4
mjh Avatar answered Oct 17 '22 07:10

mjh