Turn off visiting behaviour when navigating to fil

2020-07-17 05:51发布

问题:

When I go to another file, using F12 on a type name in the code, it will open the file in a read-tab to the right. If I navigate further the new file will replace the previous one.

In Visual Studio 2010 it would open a new tab for each file I go to. I've tried to get used to the new behaviour, but I can't stand it.

How do I turn this feature off?

回答1:

Visual Studio 2012 has a new Tabs and Windows settings page under Tools > Options > Environment that controls this kind of behavior:

You probably want to disable Allow new files to be opened in the preview tab in the Preview Tab section.