microsoft / microsoft/vscode-cmake-tools
[Feature] Ability to refresh Build Analyzer from a task
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Request Overview
I'm using (type: cmake, command: build) in a task, but that does not refresh the Build Analyzer panel. Nor is there a manual refresh button in that panel. The only ways to refresh it without reloading the window is to invoke "CMake: Refresh Tests" command, but that also does not seem to be callable by tasks. Please add "refresh" or similar command to the cmake task commands.
### Additional Information
The panel seems to be refreshing automatically if it is visible during the build process, but not when I switch to it after the build.
I invoke the build task from an extension that provides list of tasks, so the CMake panel usually isn't visible during build.
Contributor guide
Research direction
Start by locating the CMake task command definitions and the Build Analyzer refresh handling. Compare the existing "CMake: Refresh Tests" command with how CMake tasks are exposed and invoked. Done means a task can invoke a refresh command that updates the Build Analyzer when the panel was not visible during the build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100