-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Feature Request 🚀
Is your feature request related to a problem? Please describe.
The dependence on executing desktop python code (pip) from within the extension has been problematic for my use. I have used a typescript solution in an extension I wrote for Circuitpython: https://marketplace.visualstudio.com/items?itemName=padgettholdings.circuitpythonsync
Describe the solution you'd like
I have extracted the applicable code in a repo that could be of interest:
[https://github.com/standsi/MicropythonStubsFetchTypescript
Describe alternatives you've considered
The code resolves dependencies recursively as needed. Generally the stubs are fairly flat so the operation is pretty quick.
Teachability, Documentation, Adoption, Migration Strategy
The sample code also includes a similar solution to fetch libraries to the local workspace. While a bit different than the way Circuitpython libraries work, it is similar enough I was able to adapt my code to the micropython lib load also. Be glad to help.