Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
1.1.0
-
None
Description
When a project is added to a multi-root workspace, the CppProject attempts to retrieve the corresponding CMake project using the CMake extension API. However, this process is not synchronized via event handlers, leading to a timing issue where CppProject cannot access the CMake project because it has not yet been generated.
Proposed Solution:
To resolve this, the CMake extension API needs to provide an event to notify when a CMake project has been generated or is ready. This event would allow CppProject to synchronize its operations and ensure the CMake project is accessible before proceeding.