Help please? VSCode autocompletion with micropy-cli

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
BetterAutomations
Posts: 83
Joined: Mon Mar 20, 2017 10:22 pm

Help please? VSCode autocompletion with micropy-cli

Post by BetterAutomations » Fri Jun 04, 2021 12:50 pm

Help? How do I get autocomplete working?

I had installed the promising micropy-cli tool. Then created a new project and moved my existing code in, like so:

Code: Select all

micropy stubs add esp32-micropython-1.15.0
micropy init MicroPy
cd MicroPy.old/
mv *py ../MicroPy
Looks like I did everything right, according to both the README and this tutorial.

Closed/re-opened VSCode, still unable to autocomplete libraries such as esp32. What's my next step for troubleshooting this? I think I need to check something in the VSCode settings but not sure even where to start looking. NOT a professional :oops:
Attachments
VSC screenshot.png
VSC screenshot.png (12.21 KiB) Viewed 1164 times

Post Reply