Closed HuJK closed 2 years ago
same problem.
I recommend you refer to #2120. A rather temporary fix is to manually download the right version of the vsix file from the cpptools releases page and install it from there.
At the moment our plan is to switch to Open VSX which will deprecate our marketplace. Originally posted by @code-asher in https://github.com/cdr/code-server/issues/2120#issuecomment-896135918
Oh, The real problem is the runtime license of vscode-cpptools are not fully open sourced mentioned here: https://github.com/open-vsx/publish-extensions/pull/250
So this C++ extension will still not available after this upgrade😢. But this is Microsoft's problem, there are nothing we can do... Or can we?
It restricts usage to Microsoft products. We accept only open source licenses in this publishing repository.
I don't think so sadly 😢 cc @code-asher
Oh right I forgot about the license issue. Yeah I don't think we can do anything about it. I've heard there are some alternative extensions but I don't recall what they were and from what I heard they don't work as well anyway.
@HuJK You can download cpptools-linux.vsix from https://github.com/microsoft/vscode-cpptools/releases, and than use "install from vsix". It works for me.
The problem is the extension is free to distribute, but not open source. And open-vsx accepts open source extensions only.
I think there is four solution.
nonfree
distros in debian, allow users to choose
contrib
, nonfree
divisions which allows extensions such as this extension.
Use the marketplace hosted by Microsoft directly.
We can't do this for legal reasons 😢 Against their TOS.
Create another registry provides it. Just like nonfree distros in debian, allow users to choose
code-server currently has a private closed-source extension marketplace but we're trying to move away from that since it's too much time + effort to maintain and Open VSX is better anyway.
Convince open-vsx add a contrib , nonfree divisions which allows extensions such as this extension.
Hey, if you start the discussion, I'm happy to chime in and say it would help code-server.
Download vsix and install manually.
This is our best solution for now :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.
OS/Web Information
code-server --version
: 3.11.1Steps to Reproduce
Expected
C++ extension runs normally
Actual
C++ extension not working as expected with error:
This Linux arm64 version of the extension is incompatible with your OS. Please download and install the "cpptools-linux.vsix" version of the extension.
Logs
Screenshot
Notes
This issue can be reproduced in VS Code: Not sure