禁用VS2012中的文件预览

本文翻译自:Disable file preview in VS2012

In VS2012 when you select a file in solution explorer it automatically opens file in a special "preview" tab. 在VS2012中,当您在解决方案资源管理器中选择文件时,它会自动在特殊的“预览”选项卡中打开文件。

Maybe my computer is not fast enough, but this preview is too slow for my taste. 也许我的电脑速度不够快,但这个预览对我来说太慢了。

How do I disable this feature? 如何禁用此功能?


#1楼

参考:https://stackoom.com/question/jxA9/禁用VS-中的文件预览


#2楼

In Tools > Options > Environment > Tabs and Windows, you can disable it by unckecking "Solution explorer" under Preview tab. 在工具>选项>环境>选项卡和Windows中,您可以通过取消预览选项卡下的“解决方案资源管理器”来禁用它。

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 VS的伟大新功能


#3楼

解决方案资源管理器顶部的其中一个按钮可以切换是否已启用此按钮。


#4楼

You can also toggle file preview within the Solution Explorer tool-window itself: 您还可以在解决方案资源管理器工具窗口本身内切换文件预览:

在此输入图像描述

This may have been added in the July update because I hadn't noticed it before then. 这可能是在7月更新中添加的,因为我之前没有注意到它。


#5楼

On Visual Studio 2013 I have done this by this Icon : 在Visual Studio 2013上,我通过此Icon完成了此操作:

在此输入图像描述


#6楼

An even better solution IMO is to completely disable the File Preview feature (not just for Solution Explorer): 更好的解决方案IMO是完全禁用文件预览功能 (不仅适用于解决方案资源管理器):

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. 这也可以防止Go To Definition(F12)等内容使用预览选项卡。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值