microsoft / microsoft/vscode-cmake-tools
Multi-Root: Configure projects with Open Folder without a workspace (automatically)
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
Currently as I see it to use the Multi-Root feature. I have to use the option "Add Folder to Workspace" and have a workspace, which needs to be documented/explained.
I'd like to be just able to point to a root folder containing sub folders with independent CMakeList.txt projects and the extension to find them and configure them automatically without the hassle to create a workspace and add the folders one by one.
```
MyProjects/
MyProject01/CMakeLists.txt
MyProject02/CMakeLists.txt
MyProject03/CMakeLists.txt
```
In that context "cmake.sourceDirectory" could point to an array of root CMakeLists.txt files
Contributor guide
Research direction
The issue names no implementation files or tests. Start by tracing how the extension handles workspace folders and the cmake.sourceDirectory setting, then determine how a root folder could discover independent CMakeLists.txt projects without a workspace. Done means opening the described MyProjects folder automatically finds and configures each listed project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- build-system, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100