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

Project outline view refresh issue adding CMake project to workspace

Open VGRSTM opened this issue 11 months ago • 2 comments

Brief Issue Summary

Starting from a workspace having a CMake project up and running already, proceeding to add folder to workspace targeting another CMake project, I'm ending with empty project outline while CMake is proceeding to right configure step.

The very same happens if I rely on some extensions promoting by the end of their process some vscode.workspace.updateWorkspaceFolders(vscode.workspace.workspaceFolders ? vscode.workspace.workspaceFolders.length : 0, null, { uri: projectUri }); programmatic addon to workspace.

Both case, project outline is being populating forcing a Developer : windows reload

I suspect some event missing or not considered playing with multiroot workspace ... but only a guess. Any comment, advice, .. welcome ! Thanks already.

PS: seen in the past, my latest trial is based on 1.20.52 CMake tools extension, VSCode 1.97.2 & Windows 10 OS

CMake Tools Diagnostics


Debug Log


Additional Information

No response

VGRSTM avatar Mar 04 '25 10:03 VGRSTM

Kind ping. Any update here ?

VGRSTM avatar Oct 06 '25 16:10 VGRSTM

Thank you for checking this issue. If there are any updates, we will add a comment here. Thanks.

yanghhhhhhh avatar Oct 11 '25 08:10 yanghhhhhhh