Coding Your ESP32 Firmware with Cursor (or VSCode) + PlatformIO

Got it working for mac M1.

  1. Downloaded Platform io .visx file from VS Code;
  2. Installed it in Cursor;
  3. Edited /Users/…/.cursor/extensions/platformio.platformio-ide-3.3.4/package.json
    file.

In this file search for

“extensionDependencies”: [

And replace it with
“extensionPack”: [

Restarted Cursor and it worked.

2 Likes

Cannot be used at all, installed PlatformIO, unable to start the plugin, only shows Initializing PlatformIO Core…

1 Like

Yeah same.

same here

same

It works for me.
Thank you.

Just landed here, can confirm this worked on an M4 Mac Mini:

  1. Download the vscode-cpptools .vsix file for your system (ARM64 for MacOS in my case) from Releases · microsoft/vscode-cpptools · GitHub
  2. Open Cursor and install via Shift+CMD+P → Extensions: Install from VSIX
  3. Get the PlatformIO VSIX from Releases · platformio/platformio-vscode-ide · GitHub
  4. Install same a 2.
  5. Restart Cursor - done

Probably some more editor stuff to set up, but this got me building and uploading a PlatformIO Project to an ESP32-C3 from Cursor in under five minutes.