Open renegadecitizen opened 2 years ago
For micropython language support I suggest you take a look at https://github.com/Josverl/micropython-stubs
Cool thanks It looks like it’s command line only I installed it anyway Is there a way of using it in vscode?
Working on a simple 'pip install'
@Josverl is this something that could or should be bundled with pymakr-vsc
? If so, what would the pros / cons be?
well mayhaps , there are a few approaches, and a few open items.
wrt to the stubs itself. there is quite a variation between :
in selecting which stubs to install for a project i think the minimum info needed is :
pip install pycom-v123_4-esp32-wipy-stubs
there are a few ways to create the stubs
For Pycom:
The same stubs should work for any IDE so expect them to work on Atom as well
Would it be better to move this to discussions?
Where to?
@renegadecitizen granted I read your question right: https://github.com/pycom/pymakr-vsc/discussions
@renegadecitizen ,
depending on your port/chipset you can get VSCode to recognize Micropython by installing the correct stubs:
pip install micropython-esp32-stubs
pip install micropython-stm32-stubs
pip install micropython-rp2-stubs
And indeed lets close or move this to discussions as it is not an issue of pymakr.
the plugin does not recognize some MicroPython words words like machine or Pin do not turn colour I wonder if the plugin is installed right? can you please help me fix this?
What versions of software are you using?
Operating system: mac v11.6.5 VSCode version: v1.65.2 Pymakr version: preview of v2