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

前端 未结 15 1589
误落风尘
误落风尘 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:02

    For file types, where the same file can't be opened in a vertical tab group (for example .vb files) you can

    • Open 2 different instances of Visual Studio
    • Open the same file in each instance
    • Resize the IDE windows & place them side by side to achieve your layout.

    If you save to disk in one instance though, you'll have to reload the file when you switch to the other. Also if you make edits in both instances, you'll have to resolve on the second save. Visual Studio prompts you in both cases with various options. You'll simplify your life a bit if you edit in only the one instance.

提交回复
热议问题