Che: Support for Ruby and RoR with Che Theia

Created on 5 Jan 2020  路  8Comments  路  Source: eclipse/che

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?

arelanguages kinenhancement kinquestion

Most helpful comment

Thanks for the input, this is something we can look at in a few sprints.

All 8 comments

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 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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndrienkoAleksandr picture AndrienkoAleksandr  路  3Comments

SkorikSergey picture SkorikSergey  路  3Comments

InterestedInTechAndCake picture InterestedInTechAndCake  路  3Comments

LaneGeek picture LaneGeek  路  3Comments

johnmcollier picture johnmcollier  路  3Comments