Hi, currently there is no LSP support for Ruby language. Is there any way to run vscode solargraph extension in the sidecar container as a plugin with Eclipse Che 7.x?
I tried vscode-solargraph extension in a sidecar container with ruby runtime and solargraph gem but it was not able to find the solargraph gem. Ruby syntax highlighting works with vscode-ruby & theia-ruby extension but no LSP.
Just putting it out there that ruby support would be nice. It seems an odd omission
Thanks for the input, this is something we can look at in a few sprints.
It is possible to change solargraph path in che workspace, and this fixed my problem. You may also try my plugin and sidecar docker image, if you have a self-hosted plugin registry.
You can find my docker image, plugin configuration, and workspace settings in my repository. https://github.com/liningpan/che-ruby-plugin
It is possible to change
solargraphpath in che workspace, and this fixed my problem. You may also try my plugin and sidecar docker image, if you have a self-hosted plugin registry.
You can find my docker image, plugin configuration, and workspace settings in my repository. https://github.com/liningpan/che-ruby-plugin
That's awesome! Do you want to contribute your sidecar + plugin configuration to Che? I can create a repo for you in the che-dockerfiles org, where all the other sidecars are located. I'd also be happy to review your PR to add the plugin into the che-plugin-registry.
Yes, I would like to contribute my sidecar and plugin.
Yes, I would like to contribute my sidecar and plugin.
Nice! Please open a PR for your sidecar container here: https://github.com/che-dockerfiles/che-sidecar-ruby
You can look at the che-sidecar-node repo for an idea of what's needed, I've already set up most of the files (automatic build + push to quay.io, PR check, etc.), all that's needed is your Dockerfile, and a VERSION file specifying the version of the extension.
After that, you can open a PR to the che-plugin-registry with your meta.yaml. I'll make sure both PR's get reviewed either by me or someone on my team.
A big thanks to @liningpan for his contribution -- we now have the Ruby plugin in Che 7.19.
Most helpful comment
Thanks for the input, this is something we can look at in a few sprints.