BradenM / micropy-cli

Micropython Project Management Tool with VSCode support, Linting, Intellisense, Dependency Management, and more!
https://micropy-cli.readthedocs.io
MIT License
314 stars 25 forks source link

VSCode use micropy-cli #101

Closed RunningMartin closed 4 years ago

RunningMartin commented 4 years ago

Hi, I want to use micropy-cli as vscode Intellisense.In my configuration process, I have two questions:

I very much hope to get yours help.thanks!

RunningMartin commented 4 years ago

the question 2,Maybe I find the problem.

MicroPy Creating New Project ? Choose any Templates to Generate done (4 selections)
? Which stubs would you like to use? [esp8266-micropython-1.11.0]

MicroPy Initiating ESP8266 MicroPy Stubs: esp8266-micropython-1.11.0

MicroPy Rendering Templates MicroPy Populating Stub Info... MicroPy Vscode File Generated! MicroPy Pylint File Generated! MicroPy Vsextensions File Generated! MicroPy Pymakr File Generated! MicroPy Main File Generated! MicroPy Boot File Generated! MicroPy ✔ Stubs Injected! MicroPy ✔ Project Created!

MicroPy Created ESP8266 at ./ESP8266 ➜ ESP8266 tree -a -l -L 2 ./ ./ ├── dev-requirements.txt ├── .micropy │   ├── BradenM-micropy-stubs-d97f63b -> /home/martin/.micropy/stubs/BradenM-micropy-stubs-d97f63b │   ├── ESP8266 │   ├── esp8266-micropython-1.11.0 -> /home/martin/.micropy/stubs/esp8266-micropython-1.11.0 │   └── .gitignore ├── micropy.json ├── .pylintrc ├── pymakr.conf ├── requirements.txt ├── src │   ├── boot.py │   └── main.py └── .vscode ├── extensions.json └── settings.json

6 directories, 10 files


by this way, I solve the problem,then i will try to find the problem in the code.
RunningMartin commented 4 years ago

maybe i install the micropy-cli is error. in my other computer,i can do it without any modify. tomorrow, i will try it