开发者

Xcode 4 + split screen feature

Xcode 3 had a very good feature of horizontal and vertical split screen wherein you could have worked on multiple files in the same window. xCode 4 has a split screen feature in the Editor but I think there are two things lacking:

  1. Inability to switch files in the second window through project navigator (left pane).
  2. Cannot split the main screen horiz开发者_如何学Pythonontally.

Any ideas on how this can be achieved?

Xcode 4 + split screen feature

Thanks, Raj


First, you can change the layout/placement of the Assistant under the View > Assistant Layout menu. This includes placing all assistant windows in the same "column" as the main editor.

Second, you cannot split the main editor. That's what the assistant is for in Xcode 4.

Third, Assistant windows aren't controlled by the main editor unless they're in one of the automatic modes that base their selection upon the main editor's. The only way to navigate them independently is to use their Jump Bar at the top of each assistant panel.

Update

One tip I just remembered: Option-click a file in navigator to open a file in the assistant; Opt-Shift-Click to be prompted in a popup window where to open the new file (double-click an area to choose it or double-click the + sign to add a new area).


A bit late in the game, but here is a cool way to open your files in different placement configurations (e.g. new window split, new tab, etc.):

Key-combination:

Shift + Command + Option + ,

The above allows you to choose between multiple layouts. Click on the + signs to extend the layout shown on the screen.


There is an option for which editor Navigation uses. It is in the general tab of the preferences dialog, and is called Navigation. It can be either "Use Primary Editor" or "Use Focused Editor" So you can open the assistant editor to get a split screen and then have any file in either split. Not exactly split screen but close.


@Joshua Nozzi

In case you haven't discovered this yet. In 4.2 if you look at the top of the right scroll bar in edit mode you will see a small square icon. Click on it to get a split view horizontally.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜