-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode cpp extension should work without native extension #5798
Comments
I will handle that. |
Please see my comment on the other PR: #5795 (comment) TL;DR: As far as I understand, the license does not allow us to use the MS C/C++ extension in Theia. |
@marcdumais-work we aren't allowed to use the published extension from the VS Code Market Place outside of VS Code, but the source code of the extension is MIT (on github) |
We don't need to include vscode cpp extension anywhere, just move the grammar that clients who brave to take their chances with MS can consume it. |
@marechal-p |
MIT seems to be applied only to typescript files: microsoft/vscode-cpptools#2274 (comment) . If built vsix file contains non-open source bits, like tools, it cannot be used. |
Interesting link, thanks @akosyakov . "The license under the extension folder isn't intended to be applied to the contents under the Extension folder on GitHub; instead, it's what gets packaged in the .vsix that gets shipped to end users (i.e. the non-open source binaries and compiled javascript)" Do we know what those non-open source binaries might be? e.g. closed source Debug Adapter? One way to get answers would be to submit a CQ for this and see what the Foundation says. But like @akosyakov says, I think that so long as we do not distribute the .vsix file with proprietary content included, if a user uses it in Theia, it's them taking the risk of breaking the license. (in this context, having the file downloaded in post-install or such is considered distribution, at least by the Foundation) |
Seems to be at least that. Looking inside the .vsix for Linux, there is a DebugAdapters folder that contains what looks like a .NET app, being run through Mono. |
I removed [1] https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools |
@akosyakov Why did you want to extract the grammar? |
@marechal-p because https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools does not require |
Is it because the |
The issue is not with a grammar, but with a language itself. None of extensions listed here register a language, so they just don't work. One could install |
I assume you are talking about the monaco languages, it makes sense thanks! |
See #5795 (comment)
@tolusha @marechal-p @simark Could someone have a look? It should be a matter of moving textmate grammars out of
@theia/cpp
extension. And testing https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools with example app without@theia/cpp
installed.The text was updated successfully, but these errors were encountered: