如何在Visual Studio 2015中隐藏js文件?

如何在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.