如何关闭Visual Studio 2012中的pdf文件预览? [英] How do I turn off preview in Visual Studio 2012 for pdf files?

查看:134
本文介绍了如何关闭Visual Studio 2012中的pdf文件预览?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在解决方案资源管理器中选择一个文件时,它会在预览选项卡中立即打开。

When I select a file in solution explorer it opens immediately in a preview tab.

对于许多文件类型,这是一个有用的功能。但是,当将PDF添加到网站时却不是。如何调整Visual Studio 2012的预览功能,使其不预览PDF文件?

For many file types this is a useful feature. But when adding PDFs to a website it is not. How do I tune Visual Studio 2012's preview feature so that it does not preview PDF files?

(注意 Kyralessa 显示了如何在回答另一个问题中关闭预览功能,但是我想通常将其保持打开状态,然后将其关闭以打开PDF。)

(N.B. Kyralessa shows how to turn the preview feature off in an answer to another question, but I'd like to leave it on generally, and turn it off for PDFs.)

推荐答案

在按住的同时单击pdf文件ALT键-该文件将在解决方案资源管理器中选择,但不会在预览标签中打开。

Click on the pdf file while holding ALT key - the file will be selected in solution explorer but it will not be open in preview tab.

这篇关于如何关闭Visual Studio 2012中的pdf文件预览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆