Xcode 6 open Assistant Editor in New Window - xcode

I feel like I have read every link on Google pertaining to this question, but none that I have read have helped.
All I want to do is view my Storyboard layout on the left monitor, and on my right monitor, in a new window, have the Assistant Editor open to "Preview" for my Storyboard so that I can preview the different devices sizes (clicking different storyboard views on the left screen should update the assistant editor preview on the right). This seems so simple, but has not proved to be.
Please tell me this is possible.
EDIT: This guy seems to have it working but following the steps didn't work for me.

It's possible.. and it's awesome:
I do have this working after following the instructions linked in the OP. I think the author left out that you need to click on the view controller that you're editing in BOTH instances of the story board window to see the changes update. Then as you're editing on your main window the changes will update to the open storyboard and thus the preview will update as well. I was able to test this and achieved a somewhat desired result.
In case the link goes dead here are the instructions lined out
Here’s how you can set this up…
In the Project Navigator pane, single-click a storyboard/XIB file to open it in the main Xcode window.
Now double-click that same file to open it in a new window.
Move the new window to another monitor and maximize it
(So now you have the story board on 2 windows)
Click on the new window to make sure it has input focus, then type Option+Command+Enter to open an assistant editor in that window.
In the assistant editor’s jump bar click on ‘Automatic‘ to open the drop-down menu (see the screenshot below if you don’t know what this means).
Click on the ‘Preview‘ menu item to open the preview editor.
Click and hold next to the assistant editor’s jump bar, then drag up or left (depending on which editor layout you prefer; vertical or horizontal), to maximize the preview’s screen real estate.
Lastly... the part the author left out is that you need to select the view controller you want to edit in BOTH story board windows and then just drag the preview window to cover more of the screen.
It's not pretty but it's effective.
Edit: wording and grammar :)

This is not currently possible (Xcode 6.3.1 at the time of writing). The best you can do is open your storyboard in one window, open it again in a new window, open the preview, and slide the assistant editor as far left as possible. The preview won't take up the entire window, but it'll be pretty close.

Related

How depends Xcode "Change Editor Orientation" menu option to the location of the assistant editor?

Xcode 12 is annoying me. In the storyboard I want to display the assistant editor below the storyboard but Xcodes sometimes stucks the editor to the right side.
Changing the menu option "Change Editor Orientation" seems to reflect the whole editor position but not the position of the assistant editor itself.
Even the orientation is set to vertical, sometimes the assistant editor goes to the right side, sometimes below.
So as I mentioned above that's what I want, I want to force Xcode to show the assistant always on the bottom side. But it always stucks onn the vertical, right position.
Even if a new editor with horizontal oriantation is opened, the position of the assitant editor won't change.
Also the layout pane is always greyed out and stuck in automatic despite I don't use the focused editor:
You can change its orientation By shortcut key
Press Option Key and hover on the editor icon.
This will give the below output.
Okay, for all desperates Xcode beginners: The Layout Panel becomes active if the assistant editor is opened regardeless the orientation:
Choosing the right or bottom changes the position of the assistant editor immediality.

How to drag around editor panes in Xcode 11?

In one of this year's (2019) WWDC presentations, a speaker briefly demonstrated dragging an editor pane around in a window to reorganise the panes he had open. A thin blue line appears when you're hovering between other editor panes to show you where the pane you're dragging will land. (He did one or two similar actions but didn't reveal how he was doing it.) I can't find anything in the Xcode "help", or online (yet). There are a few posts on reddit regarding Xcode shortcuts but I didn't see any reference to this. Does anyone remember how to do this?
Actually the feature I was trying to learn about is called the Destination Chooser. For split pane viewing, to show Xcode 11 where to place the file you want to open, first hold down Option + Shift before clicking on the filename. A blue overlay will appear that can be moved around to the sides of existing open editor panes using the cursor or the arrow keys. When you've reached your destination, just press Enter.
You can see a demo in the What's New in Xcode 11 WWDC video from about 5m5s

XCode 8.1 shows same file side by side, no 'x' button to remove second window

After a few months of not writing any iOS code I upgraded to XCode 8.1 and opened a project. Strangely I am seeing two windows (see pasted image below). Annoyingly these two screens move in sync, show the same file, etc, but one cannot be closed. There is no 'X' at the top to close the window. Has anyone run into this and how can I get rid of one of the screens?
Probably you activated the version editor without noticing it. To revert to the standard editor, hit the button on the top right corner of the window with a drawing showing lines justified to the left (right next to a button with two circles and another with arrows).
Alternatively go to the menu:
View -> Standard Editor -> Show Standard Editor
or hit the Command + Return keys.
That should do it.

How can I add back server explorer and data sources and toolbox (especially toolbox) to the far left menu, in Visual Studio?

I am having difficulty docking toolbox with server explorer and data sources, in visual studio
If I do window..reset window layout, I get the toolbox where I want it. The reset position. With server explorer and data sources
But when I click toolbox on the far left, and it appears, and I drag it a bit, the toolbox option disappears from the far left and I can't get it back without doing window..reset
And I have the same problem with server explorer and data sources.
If I click them and drag the window, I can't the option back, and in fact I completely lose the menu on the far left
I have tried dragging toolbox around and different places appear for it to rest, but I can't make it go somewhere such that an option appears in the far left again, without having to do window..reset window layout.
To elaborate..
I can drag the toolbox and so that the far left arrow gets highlighted, and then release, but then it still doesn't appear as text in the far left
^^ See in the above pictures I don't get
toolbox appearing
or to show a fuller view
Drag that window to the left or right side you will get the mark where you want to place it. than leave that window your window will be docked there.
EDITED:
Windows should be Dockable and after placing the window at your position you can unpin that window so, it can be collapsed when the mouse leave.

Is there a way to undock the assistant editor in Xcode into its own window or onto a second monitor

Is it possible to have one assistant editor (on my second monitor for example) which always shows the counterpart to the file which I am currently editing (on my first monitor)?
I can create a new tab, drag it out into its own window and show the assistant editor but of course it doesn't show the counterpart to the file I am editing on my primary window/monitor.
Is there any way to make it do this?
No there isn't. But you can always send feedback to apple regarding what you'd like to see in future updates. If this request comes from many devs, maybe there is a chance to see it added to xcode.
Agreed. With the focus on multi-monitor support this is a feature that has been missing.
In Xcode 7.3, I just double click a file in the Project Navigator view and a new editor window with the file is opened.

Resources