Home:ALL Converter>How to install C/C++-Extension in VSCode-Server?

How to install C/C++-Extension in VSCode-Server?

Ask Time:2022-04-16T20:47:02         Author:memeToasty

Json Formatter

I have set up a code-server on a remote machine and when browsing the extensions, the C/C++-Extension from Microsoft is not available.
It is also not possible to install it via the CLI:

pi@raspberrypi:~ $ code-server --install-extension ms-vscode.cpptools
Installing extensions...
Extension 'ms-vscode.cpptools' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
Failed Installing Extensions: ms-vscode.cpptools

Is this extension just not available, or is it, because the server is not accessible via HTTPS (I couldn't get the certification to work)

Author:memeToasty,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71893991/how-to-install-c-c-extension-in-vscode-server
yy