microsoft / microsoft/vscode-cmake-tools
Status bar not getting updated when targets are modified
Open
bug
Feature: UI
stale-old
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
After modifying CmakeLists.txt file, if a target's name edited/deleted, the status bar showing the default build target's name will not get updated. This results in an error if the user runs "CMake: build", the workaround is to manually update the target from the status bar.
Contributor guide
Research direction
Reproduce the issue by editing a target name in CMakeLists.txt, then inspect the status bar's default-target handling and the CMake: build entry point. Done means the status bar reflects renamed or deleted targets and running CMake: build no longer uses an invalid target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, vscode
- 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