-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Switching between projects is a little bit clunky, since the sync data is only relevant to the last project that was used, and when sync data is received it's procesed for all open windows (what if you have different VSC instances open with different projects?)
Use the workspace ID/name, store the sync data against that, send it over the wire, and only handle sync data that matches the workspace name. We should also ask the intended project type, so that if there are problems on the other end (e.g. no CMake extension), then an error is shown rather than just skipping.
What if the workspaces have different names because the dev is a bit inconsitent with their workspaces across computers? Not everyone likes to sync their VS Code or even be consistent.
Related:
- Only run CMake if it can be run #14
Instead of silently failing on no CMake, show an error if the project type is CMake)