guillermooo/dart-sublime-bundle

enable multiple Dart VM paths

Opened this issue · 5 comments

Users should be able to set multiple paths to Dart VM versions and change them on the fly.

Perhaps add a:

...
"dart_sdk_paths": {
  "1.0": "foo/bar/dart1.0",
  "1.1": "foo/bar/dart1.1",
  "1.2": "foo/bar/dart1.1",
  ...
  "active": "1.1"
}

Also, dart_sdk_paths would override dart_sdk_path or subsume it in the larger list with a default name?

See also @financecoding who has a project to swap Dart versions.

@financecoding is this something we could integrate with Sublime?

@guillermooo The project is dvm it is a work in progress and not fully supported. Does the sublime plugin fetch the dart-sdk for the user or is this expected to be a user configured property? I can share how to resolve /<revision>/VERSION files to semantic versions if your interested in having sublime do the fetch. Does require the use of gsutil, we could consider making a transformed index that the world could depend on.

I think that's too advanced for the ST plugin right now. For the moment, I think it should simply give the option to point the plugin to multiple VM versions via settings, nothing too fancy. Once dvm matures, we can revisit this. Thanks!