-
Notifications
You must be signed in to change notification settings - Fork 340
Description
I often find myself swapping between SDKs, eg. testing dev releases that have fixes for bugs I've reported, switching to an older version to try and repro bugs, testing Dart Code against older SDKs that users might be using.
I think this could be made much easier with fairly little effort..
Add a new user setting that points to a folder that is a collection of SDKs. When set, the version number shown in the status bar can be clicked on to open a picklist (same as how Code's indent settings work) and let you pick a sub-folder from that location (the list should only include those that look like SDKs). This would set the sdkPath setting and prompt to reload (or maybe automatically reload if no dirty buffers).
This should support symlinks too, eg. so if you have checked out versions of the SDK repo you could have a dev (or whatever) symlink pointing there for easy switching in and out of release/dev.
If we can detect the architecture, we could also possibly add a new option to the "new SDK" notification for "Download now" which automatically downloads and extracts (this might need specific x-plat code) to that folder and switches to it.
@devoncarew Might this be useful to you? Anything else to add?