Using MicroPython in VS Code #16981
-
Hello everyone, For those using VS Code as your IDE, how do you set it up to work with MicroPython? Currently, I am not using any extensions as most of the extensions out there seem to be vendor specific. However, I would like to at least get rid of the warning messages related to "not found" modules I get in my environment as the only interpreter I can select is the Python interpreter. Additionally, it would be great to get the help messages by being able to set MicroPython as the interpreter instead of Python. I know that on VS Code one can select the interpreter. However, when I try to change it, it requires me to manually select an |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
As described in another discussion:
Originally posted by @Josverl in #11271 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
This won't help with the import errors, but if you're looking for extensions for VS Code and MicroPython, I have a couple you might be interested in: https://marketplace.visualstudio.com/publishers/DavesCodeMusings Both are wrappers around Python command-line tools. One for ESPTool and the other for MPRemote. The goal is to get 90% of the command-line functionality as point and click context menus in VS Code. I just recently published a fabulous wiki article that walks through getting started with a sample project workflow. You can find it here: https://github.com/DavesCodeMusings/mpremote-vscode/wiki/Sample-ESP32-Workflow It's kind of ESP32 oriented, but the MPRemote extension parts should work with any microcontroller. |
Beta Was this translation helpful? Give feedback.
As described in another discussion:
Originally posted by @Josverl in #11271 (reply in thread)