Disable file preview in VS2012

2019-01-29 17:01发布

In VS2012 when you select a file in solution explorer it automatically opens file in a special "preview" tab.

Maybe my computer is not fast enough, but this preview is too slow for my taste.

How do I disable this feature?

5条回答
别忘想泡老子
2楼-- · 2019-01-29 17:11

An even better solution IMO is to completely disable the File Preview feature (not just for Solution Explorer):

Tools > Options > Environment > Tabs and Windows
> Uncheck "Allow new files to be opened in the preview tab"

This also prevents things like Go To Definition (F12) from using preview tabs.

查看更多
冷血范
3楼-- · 2019-01-29 17:20

On Visual Studio 2013 I have done this by this Icon :

enter image description here

查看更多
老娘就宠你
4楼-- · 2019-01-29 17:26

You can also toggle file preview within the Solution Explorer tool-window itself:

enter image description here

This may have been added in the July update because I hadn't noticed it before then.

查看更多
贼婆χ
5楼-- · 2019-01-29 17:26

One of the buttons at the top of the solution explorer toggles whether this is enabled.

查看更多
在下西门庆
6楼-- · 2019-01-29 17:31

In Tools > Options > Environment > Tabs and Windows, you can disable it by unckecking "Solution explorer" under Preview tab.

I find it using the "Quick launch" new feature. Simply type "preview", and a link to the setting will be suggested. Great new feature of VS

查看更多
登录 后发表回答