Is there a command in Xcode 4.2 to swap two views in Assistant Editor mode from left to right and vice versa?

前端 未结 5 2060
情深已故
情深已故 2021-01-31 08:08

I would like to quickly swap two views from one side to the other and wonder if there is a hotkey for this functionality?

5条回答
  •  猫巷女王i
    2021-01-31 08:37

    You can open active document in any other editor by pressing

    ,


    I would use it like this:

    Suppose we have two editors E1 and E2

    1. Choose E1
    2. Press ,
    3. In graphical navigation chooser choose E2

      Original content of E1 now opened both in E1 and E2

    4. click the back arrow of E2 (or just press )
    5. In graphical navigation chooser choose E1

    Congratulations, you've swapped content of two editors

提交回复
热议问题