vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

Incomplete links in the output window when there are spaces in the configuration preset name

Open Amy-Li03 opened this issue 9 months ago • 4 comments

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
  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

Image

Actual result:

The link is incomplete, it's "C:/xxx/Test/out/build/custom", an error window pops up when clicking it Image

Expected result:

The link should be "C:/xxx/Test/out/build/custom configure preset"

CMake Tools Diagnostics


Debug Log


Additional Information

No response

Amy-Li03 avatar Feb 27 '25 09:02 Amy-Li03

@Amy-Li03 Could you open this on VS Code core? I don't believe that this is something that our extension can control, since this is a generic output pane which is provided by VS Code. Thanks.

gcampbell-msft avatar Feb 28 '25 14:02 gcampbell-msft

@gcampbell-msft filed a VS Code issue 242440 for this, do we need close this one?

Amy-Li03 avatar Mar 03 '25 03:03 Amy-Li03

@Amy-Li03 Yes.

gcampbell-msft avatar Mar 03 '25 12:03 gcampbell-msft

Hi @gcampbell-msft, verified this on CMake Tools v1.21.14, issue was not fixed well, details please see following video: Image

Amy-Li03 avatar Apr 15 '25 09:04 Amy-Li03

@Amy-Li03 Could you try this again? This seems to behave in your screenshot as expected, because it's a directory and the window provided buttons to open the folder.

Thanks!

gcampbell-msft avatar Jun 24 '25 15:06 gcampbell-msft

Hi @gcampbell-msft, we verified this issue on CMake Tools v1.21.32, issue was not fixed well, details please see following video:

Image

yanghhhhhhh avatar Jun 25 '25 06:06 yanghhhhhhh

@yanghhhhhhh Video is not attached, thanks!

gcampbell-msft avatar Jun 25 '25 14:06 gcampbell-msft

@gcampbell-msft We can see the video attached previously. I will attach it again, thanks.

Image

yanghhhhhhh avatar Jun 26 '25 00:06 yanghhhhhhh