Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio & C++: Use filters as directories

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?

like image 698
bytecode77 Avatar asked Mar 28 '13 09:03

bytecode77


People also ask

What is Visual Studio used for?

Description: Microsoft Visual Studio is an integrated development environment (IDE) used to develop console and graphical user interface applications along with Windows Forms applications, ASP.NET applications, web sites, web applications, and web services using native code and managed code.

Is Microsoft Visual Studio for free?

Visual Studio Community. A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services.

Is Visual Studio C or C++?

The Visual Studio IDE supports C++ development on Windows, Linux, Android and iOS with a code editor, debugger, test frameworks, static analyzers, and other programming tools.

Can I run Python on Visual Studio?

Visual Studio is a powerful Python IDE on Windows. Visual Studio provides open-source support for the Python language through the Python Development and Data Science workloads (Visual Studio 2017 and later) and the free Python Tools for Visual Studio extension (Visual Studio 2015 and earlier).


1 Answers

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.

Filters will not get used though.

like image 137
jt234 Avatar answered Oct 12 '22 04:10

jt234