Hello!
I have a problem! After installing the ‘C/C++’ extension from Anysphere, ‘PlatformIO IDE’ is not activated, here is the message “Cannot activate the ‘PlatformIO IDE’ extension because it depends on the ‘C/C++’ extension from ‘Anysphere’, which is not installed. Would you like to install the extension and reload the window?”.
I have installed and deleted Cursor a hundred times, but the problem does not go away, everything was fine with C/C++ from Microsoft before, I use the latest version of Cursor. What should I do?
Please help, I can’t work in the platformIO. This application is not activated. Maybe someone can install the platformIO and write here, is there the same error as me?
having the exact same issue on windows i uninstalled extension and reinstalled and still have the same issue.
Hi all – thanks for raising this issue. I have submitted a PR to Platformio to fix it in their upstream repository: Fix compatibility with editors where MS Cpptools is not supported by ravirahman · Pull Request #4312 · platformio/platformio-vscode-ide · GitHub
In the meantime, we have forked their extension and republished it in Cursor. Could you uninstall the existing one and search for @id:anysphere.platformio-ide
? This one removes the dependency on the unavailable cpp extension. Attaching a screenshot
Thanks for your help! I uninstalled and installed the platformIO from Cursor, removed all extensions, but a new error occurred!
Windows 11
Cursor 0.50.7
Hi! Very strange behavior: after installing the extension “from scratch” the .platformio directory is empty.
Hello! Please tell me if there will be a solution to this error?
Hi All, thanks for sharing this bug report. We’re looking into it and will share more once we have a fix.
That work arround has gone, I think because the latest version from yesterday.
I work on Ubuntu updated everything but still have the problem.
Cannot activate the ‘PlatformIO IDE’ extension because it depends on the ‘C/C++’ extension from ‘Anysphere’, which is not installed. Would you like to install the extension and reload the window?
Ok got solution:
open /home/■■■/.cursor/extensions/platformio.platformio-ide-3.3.4-linux-x64/package.json
search for “extensionDependencies”
change to “extensionPack”
should look like that:
"webpack-cli": "~6.0.1"
},
"extensionPack": [
"ms-vscode.cpptools"
],
"__metadata": {
have fun
regards
Joerg
Hi all – we will have a permanent fix for this in the next update to the Cursor client. In the meantime, I would recommend the workaround that @JoergSH identified to manually monkey-patch the extension.
This is important to me as a paid user to Cursor.
I switched from Windsurf to Cursor, and I need PlatformIO.
Do Not Break PlatformIO, please.
Windsurf worked with PlatformIO via the manual .vsix install trick, but I didn’t have to do any other monkeypatching.
And on Windows, the file to modify is here:
%USERPROFILE%.cursor\extensions\platformio.platformio-\package.json
It works fine by renaming “extensionDependencies” by extensionPack".
Phil
This is very helpful for me, thanks a lot!
(post deleted by author)