dart-sublime-bundle icon indicating copy to clipboard operation
dart-sublime-bundle copied to clipboard

enable multiple Dart VM paths

Open guillermooo opened this issue 11 years ago • 5 comments

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

guillermooo avatar Aug 25 '14 18:08 guillermooo

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?

guillermooo avatar Aug 27 '14 06:08 guillermooo

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

sethladd avatar Aug 27 '14 15:08 sethladd

@financeCoding is this something we could integrate with Sublime?

guillermooo avatar Aug 27 '14 17:08 guillermooo

@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.

adam-singer avatar Aug 29 '14 04:08 adam-singer

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!

guillermooo avatar Sep 05 '14 16:09 guillermooo