Skip to content

[Not Maintained] Visual Studio C++ Extensions (Obsolete if you can use "Open Folder" feature from VS2017+)

Notifications You must be signed in to change notification settings

Dllieu/VisualStudioCppExtensions

Repository files navigation

Visual Studio C++ Plugin

Build status

About

Custom plugins for Visual Studio 2015+:

  • Generate C++ Project's Filters
  • Simple Extension which provide the ability to generate C++ project filters to replicate the folder hierarchy of the underlying sources
  • It was originally made to browse easily C++ code hosted on a Linux machine while benefiting of the Visual Studio's features (e.g. GUI, Go to Definition / Declaration, Compile / Debug through SSH, ...)

Project without filter Project with filter replicating the folder hierarchy

Installation

Example Usage

Open an existing C++ solution

In the example below, I drag and dropped a folder into an empty C++ Project, all the files are imported but the whole project is flat as visual studio does not replicate the folder hierarchy of the files for C++ projects

Project without filter

Right click on the project for which you want to generate the filters per folder, a menu Generate C++ Project Filters will appear (only appearing when right-clicking on a C++ project)

Right click on the project

Click on Generate C++ Project Filters, a confirmation will be required to generate the filters

Notification for confirmation

Once the filters are generated, the extension will automatically reload the current project if needed. Accept the changes made by the extension by clicking yes

Save change made by Generate Filter

As a result, your C++ project will have filters that replicate your C++ sources folder hierarchy

Result

Dependencies for developers

If you are interested in enhancing this extension, you must install Visual Studio 2015 SDK

Debug

You have to change the debug settings for the VSIXProject to be able to debug it (Properties -> Debug)

  • Start external program : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
  • Command line arguments: /rootsuffix EXP

About

[Not Maintained] Visual Studio C++ Extensions (Obsolete if you can use "Open Folder" feature from VS2017+)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages