-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use these stubs coding locally in VS Code? #106
Comments
Hi,
just @mention me if you are interested, and we can figure out how to make that work. |
Assuming you are using vscode and pylance the below setup should get you started by setting up a sparce clone of just (one of) the typing folder(s) in this repo: To clone just the lang/en folder from the https://github.com/microbit-foundation/micropython-microbit-stubs repository using the sparse-checkout feature of Git. Assuming you have a folder for you project called: project_foo Create and navigate to the typings directory:
Add the remote repository:
Pull from the remote repository:
Start VScode
|
The red squiggles are coming from the |
Hi. This is more of a question than an issue, but is it possible to use these stubs if coding locally in Visual Studio Code? And if so, do you have any pointers as to how that would work?
Thanks! My kids have learned how to use the micro:bit in their school, and have really enjoyed it!
The text was updated successfully, but these errors were encountered: