Visual Studio& C ++:使用过滤器作为目录 [英] Visual Studio & C++: Use filters as directories

查看:135
本文介绍了Visual Studio& C ++:使用过滤器作为目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Visual Studio 2012专业版 C ++ 。当创建所谓的过滤器并向它们添加源文件时,解决方案资源管理器中的文件被分成子目录,而在文件系统上它们都在同一目录(项目目录)中

I Use Visual Studio 2012 Professional and C++. When creating so called 'filters' and adding source files to them, the files in the solution explorer are divided into sub directories, while on the file system they are all in the same directory (the project directory)

问题:我想将文件添加到过滤器,同时将其添加到文件系统上的相应目录。

Question: I want to add a file to a filter while at the same time adding it to the corresponding directory on the file system. How can this be accomplished other than manually moving files around?

推荐答案

另一种方法是切换到显示所有文件解决方案资源管理器顶部菜单。

One alternative would be to switch to "Show All Files" in Solution Explorer top menu.

这种方式可以移动和管理文件夹中的文件。

This way you can move and manage files in folders.

这篇关于Visual Studio& C ++:使用过滤器作为目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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