This extension aspires to bring your entire CircuitPython workflow into a single place in VSCode.
Inspired by Scott Hanselman's blog post and the VSCode Arduino extension.
The extension will currently activate when any of the following occur:
Upon activation, the extension will check for the latest
and download it if needed. It'll then load that library metadata into the
workspace's state. You can also trigger this manually with
After that you should be ready to use the following features.
v0.0.2 introduced a Circup inspired library manager, with an emphasis on VSCode integration. It downloads new bundles automatically.
You can use it with the following commands:
Note: There are linux permissions issues with the serial console, but if you're on linux, you're probably used to that.
It will also change your workspace's default
If you want to manually choose a different board, a list is available with the
NOTE FOR WINDOWS USERS: I have seen trouble with the serial console, displaying anything at all. If that happens, try launching VSCode as an administrator and see if it works. I have even gotten it to work as a non-administrator after this, so perhaps running it as an admin stole the serial port from whatever was using it, and then whatever it was didn't grab it again.
Automatically adds stubs for your specific board, the circuitpython standard library and all py source files in the adafruit bundle to your completion path.
Board specific settings can be stored in a project's
You can also use this for projects you're working from on disk, with the intent of running on a specific board.
You can also set these at a user level, although that's not the primary intent. If you do this, it will get overridden at the workspace level if you ever touch the choose board dropdown or open a serial monitor.
I'd probably have restricted the scope to workspace if that was an option.
See the Changelog