如何在Visual Studio 2015中隐藏js文件? [英] How to hide js files in Visual Studio 2015?

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

问题描述

我在Visual Studio中安装了cordova-ionic项目。

I have cordova-ionic project setup in Visual Studio.

现在我在一个文件夹中有ts和js文件。我想隐藏文件夹中有相应ts文件的js文件。

Now I have ts and js files within a single folder. I would like to hide js files which has corresponding ts file in the folder.

如何实现这个目标?

推荐答案

如果您右键单击每个文件并选择从项目中排除,只要您没有在解决方案资源管理器中选择显示所有文件,它们就会被隐藏。

If you right click on each file and select "Exclude From Project" they will be hidden, as long as you don't have "Show All Files" selected in Solution Explorer.

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

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