Open two instances of a file in a single Visual Studio session

前端 未结 15 1549
误落风尘
误落风尘 2020-12-02 03:21

I have a file, xyz.cpp. I want to open two instances of this file in Visual studio (BTW, I am using Visual Studio 2005). Why would I want to do so? I want

相关标签:
15条回答
  • 2020-12-02 04:18

    Go to menuWindowsNew Window:

    0 讨论(0)
  • 2020-12-02 04:21

    Here's how to do it...

    1. Select the tab you want two copies of
    2. Select menu WindowNew Window from the menu.
    3. Right click the new tab and select New Vertical Tab Group

    If New Window is not listed in the *Window menu note that the command does exist, even as of Visual Studio 2017. Add it to the Window menu using menu ToolsCustomizeCommands. At that point decide where to put the New Window command and select Add Command.

    UPDATED on "30 July 2018"

    In Visual Studio Code version 1.25.1 and later

    Way 1

    You can simple left click on your file in the side-panel (explorer) and press Ctrl + Enter.

    Way 2

    Simply right click on your file in the Visual Studio Code side-panel (explorer) and select the first option open to the side.

    0 讨论(0)
  • 2020-12-02 04:22

    For newer versions (such as Visual Studio 2017)

    • Select the window you want to duplicate.
    • Go to the window tab and click on split at the top of the list.
    • When you are done, click it again to toggle it off.
    0 讨论(0)
提交回复
热议问题