With the latest change, Microsoft removed the ability to run their C/C++ extension from any non-oficial VSCode fork, including non-profit ones like VSCodium.
Are there any plans (besides reverting the extension to previous one) to mitigate this? Or will PlatformIO IDE be VSCode exclusive in the near future?
Maybe going clangd route?
Thanks for this awesome software!
Best discussed with the maintainers of the IDE extensions. For which there already is an issue:
opened 04:44PM - 08 Apr 25 UTC
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-forma`t 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_**
CC @ivankravets
1 Like
We are always eager to provide true freedom to PlatformIO users. However, our mission does not always align with that of other businesses. Microsoft is a profit-driven company that has never truly prioritized the needs of developers - they simply follow their business interests.
We have an open ticket regarding this issue. At the moment, there is no working solution that can compete with what Microsoft has created. See:
opened 12:17PM - 18 Jun 20 UTC
feature
# Reason
Microsoft does not allow to use C/C++ extension with other editors. … See https://github.com/microsoft/vscode-cpptools/issues/6388#issuecomment-720719298
We are working on an alternative solution for C/C++ code completion and navigation.
--------
# Temporary solution 1
You will need to install manually these extensions:
- https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
- https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
1. Open extension in the Microsoft Marketplace following the link above
2. Download extension's VSIX file by clicking on "Download Extension" in "Resources" section (right sidebar)
3. Navigate to VSCodium Extensions view and click "...", select "Install from ".VSIX".
4. Repeat for each VSIX/Extension.
Restart VSCodium.
# Temporary solution 2
See https://github.com/platformio/platformio-vscode-ide/issues/1802#issuecomment-710683116
--------------
Hi!
I'm a [VS Codium](https://github.com/VSCodium/vscodium) user, a FLOSS version of VS Code, it's the same code but without the Microsoft's telemetry and branding.
I want to request if possible to add the PlatformIO IDE extension on the [open-vsx.org](https://open-vsx.org/) market so that we doesn't need to works with the Microsoft marketplace as it is unclear if it's legal to use it on VS Code forks, see [here](https://github.com/microsoft/vscode/issues/31168).
This is [how to](https://github.com/eclipse/openvsx/wiki/Publishing-Extensions) publish a new extension.
Thanks.