microsoft / microsoft/vscode-cmake-tools

Project outline does not show sources of custom targets with commands

Open
#3,886 6 comments 0 reactions 0 assignees View on GitHub
enhancement Feature: Project Outline View
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

### Expected behavior
Show files listed in the `SOURCES` list of a custom target.

Visual Studio 2022 shows the whole list of sources including the proper hierarchy, if any.

### Actual behavior
Source files and folder structure, if any, are not shown.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

VS Code version: 1.91.0
Version of the extension: v1.18.42

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Reproduce the issue with a CMake custom target that has a SOURCES list, then trace the project outline handling and compare its displayed hierarchy with Visual Studio 2022; done means the source files and folders appear in the outline.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.