microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.48k stars 453 forks source link

Do not accept task values for ‘package’ and ‘workflow’ on task.json file #4167

Open Yingzi1234 opened 2 weeks ago

Yingzi1234 commented 2 weeks ago

Brief Issue Summary

More info:

  1. This issue is reproduced on previous and latest pre-release versions, so it's not a regression issue
  2. This issue is reproduced on Windows, Linux, and Mac platforms

Repro steps:

  1. Download this folder test 4.zip and open it with VSCode
  2. Click F1 to run command "Tasks: Configure task"
  3. Choose the command "CMake: Package" and "CMake: workflow"

Expected result: Successfully added valid “package” and “workflow” commands to the tasks.json file with no warnings

Actual result:
The “package” and “Workflow” commands have been successfully added to the tasks.json file, but a warning appears in the Problems window that reads: "Value is not accepted. Valid values: "build", "configure", "install", "test, "test", "clean","cleanRebuild" Image

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response