bcomnes / sublime-standard-format

:sparkles: Runs standard --fix against the javascript in your ST3 window on save or manually.
https://packagecontrol.io/packages/StandardFormat
MIT License
60 stars 21 forks source link

Update to ST4 runtime #83

Closed bcomnes closed 3 years ago

bcomnes commented 3 years ago

ST4 has a new plugin host runtime you need to opt into.

bcomnes commented 3 years ago

add a .python-version file with 3.8 in it so that it runs in the new runtime, and make sure that your code is 3.8 compatible, are the steps in a nutshell [1:39 PM] https://www.sublimetext.com/docs/api_environments.html that would be a package control related change; your package's entry in the channel file would need to have a minimum version requirement added/changed [1:40 PM] if you want to support older and newer builds, then you need distinct tags on the builds and multiple versions in the channel to specify which to use NEW [1:41 PM] an example of that is something like this: https://github.com/STealthy-and-haSTy/SublimePackages/blob/master/packages.json here anything that's build 3197 or higher uses tags like v1.2.3 while if you're using versions 3092 through 2190 inclusive, only releases tagged like legacy-v1.2.3 would be used/allowed --@odatnurd

bcomnes commented 3 years ago

Done