Replies: 5 comments 16 replies
-
No help with VSCode here, but I use Pycharm with micropython plugin, works awesome once you figure out the workflow. |
Beta Was this translation helpful? Give feedback.
-
for VSCode MicroPico does a decent job, https://github.com/paulober/MicroPico. The nova plugin is planning to use the stubs as well, but I have no hands-on with that. |
Beta Was this translation helpful? Give feedback.
-
I just use VS Code with no necessary extensions. Then use |
Beta Was this translation helpful? Give feedback.
-
After spending a few days searching for a development environment for MicroPython, I’ve come to the conclusion that there is no full-fledged, convenient, and stable solution for it. Everything available is either minimal editors like Thonny, or some makeshift solutions put together "on the fly" (VS Code + Pymakr, mpremote, ampy, etc.). All of these come with tons of issues, unstable performance, connection problems, poorly implemented code uploads to the device, and more. There is nothing on the level of PlatformIO for Arduino, nor even a fully integrated experience in Visual Studio Code or JetBrains IDEs. Everyone is forced to cobble together their own macros, scripts, or workaround solutions. This is already my third day trying to find a more convenient solution, tweaking configurations instead of actually working on my project. But everything just works like crap... 😡 Thonny remains the most viable option, but the lack of a proper editor and flexible settings makes it far from an ideal choice. In my opinion, this is a major drawback of MicroPython, significantly slowing down its adoption. The entry barrier is much higher compared to Arduino or ESP-IDF. |
Beta Was this translation helpful? Give feedback.
-
Lastly :I completely missed : Autocomplete and syntax highlighting don't always work properly with MicroPython libraries. please check out : micropython-stubs if you find something that does not work please create an issue with a sample of the code that does not work so I can try to fix that. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! 👋
I currently use Thonny for MicroPython development, but it has a terrible code editor.
Additionally, there is no support for automatic formatting or compiling .mpy files before uploading them to the microcontroller.
I’d like to switch to VS Code, but I’ve run into several issues:
No fully-featured extension for MicroPython (or maybe I just can’t find the right one).
Pymakr is unstable, often fails to detect devices, buttons are unresponsive, and sometimes nothing happens when I click them.
No easy way to automatically compile .py to .mpy before uploading. The mpy-cross tool works in the terminal, but I’d love to integrate it into VS Code.
Autocomplete and syntax highlighting don't always work properly with MicroPython libraries.
So, my questions are:
🔹 Which VS Code extensions do you use for MicroPython?
🔹 How do you set up a smooth workflow for ESP32 / STM32 development?
🔹 Is there a way to automatically compile .py to .mpy inside VS Code before uploading it to the microcontroller?
I’d really appreciate your advice and experiences! 🙌
Beta Was this translation helpful? Give feedback.
All reactions