microsoft / microsoft/vscode-cmake-tools
Incomplete links in the output window when there are spaces in the configuration preset name
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
#### Environment:
VS Code 1.97.2 + CMake Tools v1.21.0 (pre-release)
#### More info:
This issue reproduces on Windows, Linux, and Mac platforms
#### Repro steps:
1. Unzip the project and open it with vscode
[TestProject.zip](https://github.com/user-attachments/files/19005850/TestProject.zip)
2. Open the command palette (F1 or Ctrl+Shift+P)
3. Enter and select the command “CMake: Configure”
4. Press “Ctrl” and click the link in OutPut window

#### Actual result:
The link is incomplete, it's "_C:/xxx/Test/out/build/custom_", an error window pops up when clicking it

#### Expected result:
The link should be "_C:/xxx/Test/out/build/custom **configure preset**_"
### CMake Tools Diagnostics
```shell
```
### Debug Log
```shell
```
### Additional Information
_No response_
Contributor guide
Research direction
Start with the “CMake: Configure” command and the Output window link handling, reproducing the issue with the attached TestProject.zip and a configuration preset whose name contains spaces. Done means the complete path, including the preset name, is recognized as one clickable link on Windows, Linux, and macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100