Exercise 3: Build a Multi-Root Workspace — Possible Solution ==================================================================== STEPS ------------------------------ 1. File -> Open Folder... and open a first project (Project A). 2. File -> Add Folder to Workspace... and select a second, unrelated folder (Project B). The Explorer's Side Bar now shows TWO top-level root folders, Project A and Project B, each with its own expandable file tree. 3. File -> Save Workspace As... and save it as, for example, my-projects.code-workspace, in a convenient location. 4. File -> Close Folder (or close the window entirely). 5. Reopen VS Code, then File -> Open Workspace from File... and select the my-projects.code-workspace file you just saved. 6. Confirm both Project A and Project B reappear in the Explorer, exactly as they were before closing. WHAT TO NOTE ------------------------------ The .code-workspace file itself is a small JSON file (openable in a text editor) listing the paths to both root folders, plus any workspace-level settings — it's the saved RECORD of the combination, not the folders' actual content. WHY THIS WORKS AS AN ANSWER ------------------------------ This reuses the chapter's own three commands in the exact order it describes them: Add Folder to Workspace to combine two unrelated folders into one window (rather than the single-folder default from Chapter 1's "Opening a Folder vs. a File"), then Save Workspace As to persist that specific combination for later. Successfully reopening BOTH folders together from the saved .code-workspace file — rather than needing to manually re-add the second folder every time — is what proves the multi-root workspace was actually saved correctly, not just temporarily combined for the current session.