microsoft / microsoft/vscode-cmake-tools

Cmake configure task removes commented lines from tasks.json

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

Description

### Brief Issue Summary

- Let tasks.json contain commented lines
- command palette > configure task
- select cmake build
- see commented lines disappear

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue through the command palette’s Configure Task flow, selecting CMake build, with commented lines in tasks.json. Trace the task configuration handling used by that entry point and verify that the comments remain after configuration; the payload names no tests or implementation files.

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.