microsoft / microsoft/vscode-cmake-tools

[Feature Request] Provide a command to set build target and debug target (or launch target) at the same time

Open
#1,941 3 comments 14 reactions 0 assignees View on GitHub
enhancement Feature: build Feature: debug/launch help wanted stale-old
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

I can't find a way to do this.

I think it's very common a project contains multiple executables, and you switch among them to launch for debug, in the mean time, after you made some code change, you need only to build the target of interest, rather than build the meta target "`all`", which can cost much more time.

So I raise this ticket to suggest add a command to set the two targets together, because most of the time I need to set them one by one to the exactly same target.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing commands for selecting build and debug or launch targets, then trace how each target is stored and applied. Confirm the behavior for projects with multiple executables; done means one command sets both targets to the selected target without requiring two separate selections.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript, vscode
Domain
build-system, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.