VSCode CPP extension

The extension is from Microsoft https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
But the license doesn’t allow it to be installed in any other software than VSCode https://marketplace.visualstudio.com/items/ms-vscode.cpptools/license

But the extension provided by OpenVSX project, doesn’t contain all the features which are available in the Microsoft vscode cpp extension. Like intellisense

Is there a solution for this? Or can I use Microsoft vsix file in theia without any worry.?

Is there a solution for this? Or can I use Microsoft vsix file in theia without any worry.?

@chakraborty-slx thank you for the discussion, as you’ve highlighted the license of vscode-cpptools means it cannot be published to open-vsx, and legally we cannot or should not use it.

As an alternative, we have been using the vscode-clangd extension (maintained by the clangd community) in order to get C/C++ language features.

@vince-fugnitto thanks for your reply,

Does it support c_cpp_properties.json to include missing header libraries?

image

@chakraborty-slx unfortunately I do not maintain the plugin myself or use it daily to be able to answer with confidence. It might be worthwhile to try out the plugin for yourself and see if it meets your requirements and use-cases. If something is missing, don’t hesitate to open a github issue on their repo:

1 Like

@vince-fugnitto yes clangd extension resolves my include errors