Visual Studio - file tabs

etienne_marais

Honorary Master
Joined
Mar 16, 2008
Messages
16,250
Reaction score
19,740
Location
Centurion
Capture.PNGI'm pretty sure I did not have this until a couple of days ago, somehow I managed to open the same file twice and the tabs now show :1 and :2 after the filename (hovering over them indicates it is indeed the same form). This includes the files of which I only have one instance open (filename:1). Furthermore it is only happening in the one solution. Did I change some setting by accident or managed to open the files in a special way ?
 
Last edited:
This was not it:

If you want to see your code in a full-size window then go to the Window menu and select New Window. You'll get a second window with the same name but with ":1" tacked on the end (for example, "Customer.cs" and "Customer.cs:1"). If you want, you can drag one of the tabs to another monitor (something you can't do with the divider bar). https://visualstudiomagazine.com/blogs/tool-tracker/2015/12/seeing-file-twice-visual-studio.aspx

And I doubt this:

This seems to happen when a project is loaded after VS crashes or is otherwise not gracefully terminated (e.g. the system shuts down while VS is still open). https://developercommunity.visualst...lem/122586/same-file-open-multiple-times.html

Any other possibilities ?
 
If sounds like you have Split Mode enabled which allows you to have the same file open

Try go to Menu -> Window - > Remove Split Mode

if that doesn't work try close all your files and
Menu -> Window - > Reset Windos Layout
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X