Skip to content

mtsmfm/language_server-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
exe
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LanguageServer

[Alpha quality]

A Ruby Language Server implementation.

Installation

If you are using vscode, install ruby-lsc extension.

Docker

Simply you can pull from docker hub

$ docker pull mtsmfm/language_server-ruby

Ruby gem

Add this line to your application's Gemfile:

gem 'language_server'

And then execute:

$ bundle

Or install it yourself as:

$ gem install language_server

Usage

Currently, language_server-ruby supports only stdio to communicate.

Docker

$ docker run mtsmfm/language_server-ruby

Ruby gem

$ language_server-ruby

Development

Requirements

docker, docker-compose

https://docs.docker.com/engine/installation

Setup

$ git clone https://github.com/mtsmfm/language_server-ruby.git
$ cd language_server-ruby
$ docker-compose run app bin/setup

Run test

You can run test via m:

$ docker-compose run app bin/m
$ docker-compose run ruby-3-0 bin/m

Or run via guard:

$ docker-compose run app bin/guard
$ docker-compose run ruby-3-0 bin/m

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mtsmfm/language_server-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

A Ruby Language Server implementation

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages