microsoft / microsoft/vscode-cmake-tools

Pinned Commands - allow Build Target pinned commands to be build a target that was already selected

Open
#4,189 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

In a CMake project with a hundred different targets it would be nice to have the ability to easily jump between the couple of targets I use all the time. So, When pinning Build Target the user could select the build target and the Pinned Build Target would always build that particular target. The current behavior is to always have to select a target to build when clicking on the pinned 'Build Target' command.

### CMake Tools Diagnostics

```shell

```

### Debug Log

```shell

```

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the pinned “Build Target” command and its target-selection flow in the CMake Tools extension. Check how a pinned command stores or resolves its target, then verify that invoking it builds the selected target without prompting again; preserve normal target selection for unpinned commands.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.