Vscode-cmake-tools: Organize targets using the FOLDER property in the Project Outline window

Created on 24 Jul 2018  路  3Comments  路  Source: microsoft/vscode-cmake-tools

First of all: I just LOVE the fact that the cpptools integration finally works! Awesome work guys!

Expected:

It would be nice if the FOLDER property of targets and source_groups belonging to targets displayed as if they were in logical folders (Filters in VS terms), just like in Big Brother VS.

Apparent Behavior:

All targets and source files are displayed in a flat structure.

Feature Request project outline upstream

Most helpful comment

+1 for a nice feature I would very much appreciate.

Apparently, CMake's file API is exposing information about the FOLDER target property (JSON object member folder) and the source_group CMake command (sourceGroupIndex and sourceGroups), so I guess this should be possible now.

All 3 comments

This is actually what I wanted to do with the outline originally, but I was disappointed to find that CMake Server doesn't give me the value of the FOLDER property, so I can't know where to put the targets/sources.

+1 for a nice feature I would very much appreciate.

Apparently, CMake's file API is exposing information about the FOLDER target property (JSON object member folder) and the source_group CMake command (sourceGroupIndex and sourceGroups), so I guess this should be possible now.

I'd like to support as well this feature request, now that it is feasible

Was this page helpful?
0 / 5 - 0 ratings