-
-
Notifications
You must be signed in to change notification settings - Fork 192
-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Publish extensions to open-vsx #1802
Comments
I am with the same "problem". It would be really nice to have it published to work with VSCodium. |
It is technically possible:
@ivankravets Do you think platformio extension for codium is also legal? |
PlatformIO extension for VSCode depends on C/C++ extension by Microsoft. We use it for code completion/navigation. How to resolve this issue? |
This one? It is MIT licensed. |
@rafacouto Yes, is it possible to have it in the open-vcs registry as well? |
it was already merged here open-vsx/publish-extensions#54 but it doesn't appear on open-vsx.org Probably because it isn't build correctly? Could you help me with fixing that #1884 please? |
I updated this issue and added temporary solution #1802 |
I believe the Microsoft vscode-cpp extension you guys are using for code completion is incompatible with open-vsx. The linked discussions seem to imply that it's not legal to use the Microsoft C/C++ extension in any other product than VSCode. I was able to use the clang language server instead and getting it working (in Eclipse Theia), by
PlatformIO is still complaining about the incompatibility but all code completion functionality seems to work. Note that I'm using clang only as a language server, and the builds are still being handled by PIO. This suggests to me that it is possible to separate the build and language server tools, and with small configurations, PlatformIO can actually play well with the clangd language server and therefore be open-vsx compatible. |
@yunuscukran Thank you so much for your solution! I added it to the top of post. We already have started research around C/C++ extension and replacement for it. Indeed, we use noly 5% functionality of that extension - just code completion and navigation. So, we would be happy to switch to something open source with better peformance and |
@yunuscukran what is your feedback about |
That one called vscode-cpptools is under Microsoft License, not MIT, which made this issue-There is no a c/c++ extension on VSCodium marketplace #6518 |
Hi, The functionality regarding language features is good! One aspect which I think is hacky is that the default place for |
Any updates on switching to clangd for the language server? It seems to me what is needed is simply the generation of a |
Hi @ivankravets I hope you can switch to vscode-clangd ASAP - it's rapidly improving and gaining features, as is clangd. I have asked one of our contributors an update about one of your two blocking issues - I hope he can help. I think coming together and collaborating, us non-Visual-Studio product/framework makers, open registry provider and extension consumers, to offer a better solution, vs the superficiallty-FOSS (really proprietary) extension, that we can't use anyway, is the best thing we can do. |
Any update on this? I think this may be quite useful for you to release as open-vsx in order to keep users :) For example, my main motivation for using platformio nowadays compared with Arduino IDE 2.0 is that it lets me use my favorite editor of the moment (before the Arduino IDE 2.0 came out, my main motivation for using platformio was to get linter and static analysis which was not available on Arduino 1.8, but now that Arduino IDE 2.0 is getting this and it works nicely already, this removes this part of the extra value of platformio). For me nowadays editor of choice means onivim2. So if I cannot get platformio to work for onivim2, I think that I will (unfortunately) default to switching to Arduino IDE 2.0, as I am really tired of the sluggishness of vscode and similar. |
Hi, |
Since C++ is present by default on VSCode anyway, maybe just drop it from deps and add popup with download link to vsix? This would be a quick fix, allowing both adding PlatformIO to open-vsx and moving on with previous completion engine. |
@cab404 can you do it yourself and publish a fork in open-vsx? |
The problem, already stated above, is that license of vscode-cpptools prevents using it out of non-free MS VS Code. Suggesting the user to just circumvent the legal restriction is not appropriate. |
But the idea regarding the vscode-cpptools was to instead to move to the clang tool that is fully open and permissive license, right? :) . |
Hello! I'd love to help get the PlatformIO published to OpenVSX. Is there anything I can do to help? 🙂 |
@jankeromnes Does PlatformIO IDE extension work with Theia if you install it manually? The last time when I tested it, it didn't work. Theia does not support VSCode's API on which PlatformIO IDE extension depends. |
@ivankravets I'm not sure about Theia, but Gitpod, openvscode-server and VSCodium all use stock VS Code today (and Theia support in Gitpod has been deprecated). |
Wow! Founders of Theia switched to VSCode for Gitpod. Great decision! I don't see C/C++ extension on Gitpod. PlatformIO IDE depends on it. |
@ivankravets Yes, unfortunately So, as long as A promising solution discussed above would be to drop the dependency to the closed-source |
@jankeromnes We would like to resolve this issue as soon as possible, but there are technical issues. Please read this topic from the beginning. For example, #1802 (comment) |
FYI, vscode-clangd is available on open VSX in the meantime: clangd/vscode-clangd#243 |
@ivankravets has there been any progress on this? I am running in GitPod and the temporary workaround seemed to work, until I tried to open the Home page and it failed, as well as |
I second using clangd. I use clangd for all my C work in VSCodium. |
With #1802 (comment) showing that the clang language server does work, is there any other holdup for publishing PlatformIO on https://open-vsx.org? |
Bump. |
Updated link to the 2nd issue this depends on: llvm/llvm-project#47610 |
Any updates on this? |
Reason
Microsoft does not allow to use C/C++ extension with other editors. See microsoft/vscode-cpptools#6388 (comment)
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:
Restart VSCodium.
Temporary solution 2
See #1802 (comment)
Hi!
I'm a VS Codium 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 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.
This is how to publish a new extension.
Thanks.
The text was updated successfully, but these errors were encountered: