platformio-vscode-ide
platformio-vscode-ide copied to clipboard
Possibility to use Platformio IDE without depending on the ms-vscode.cpptools extension
I currently use VSCode, VSCodium, under Linux, and when I install PlatformIO IDE, cpptools is installed as a dependency. So far, so good.
When I restart and try to open my project, cpptools gives me the following error message:
The C/C++ extension may be used only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, Azure DevOps, Team Foundation Server, and successor Microsoft products and services to develop and test your applications.
Is there a way to use PlatformIO IDE without necessarily having to use cpptools? For example, using clangd, clang-format and clang-tidy
Edit: platformio.platformio-ide: v3.3.4 ms-vscode.cpptools: v1.24.5
as an alternative solution downgrade ms-vscode.cpptools to version 1.23.6
https://github.com/platformio/platformio-vscode-ide/issues/1940
I disable C/C++ extension so platformio is deactivated also. So I use the command line to build, upload and monitor inside VSCodium. You should be able to activate the platformio environnement in VSCodium to use commands.
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
Bump, just making sure this doesn't get closed
watching this for Cursor compatibility as well.
+1 for this
Hey everyone, can you please try this in Cursor? https://open-vsx.org/extension/DavidGomes/platformio-ide
I have been able to get this to work on my local Cursor for any PlatformIO project.
What I did was:
- Make this require the Clang VSCode extension (so you should get a notification to install it if you haven't already, and this extension won't even load until you do that)
- For every PlatformIO project, the extension now generates a
compile_commands.jsonfile in the project directory so that the Clang CPP extension works properly
@ivankravets this is a blocker for using the extension in popular editors such as Cursor right now. possible to make the microsoft dependency optional?
See https://github.com/platformio/platformio-vscode-ide/issues/1802#issuecomment-3370225987