okitan / ruby_language_server

Language Server implementation in Ruby for Ruby. Development happens on the develop branch. Production is master.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

https://github.com/kwerle/ruby_language_server

The goal of this project is to provide a language server implementation for ruby in ruby.

Status

Alpha. Totally feature incomplete. Mostly stable. Used day-to-day.

Help wanted.

Features

Requirements

  • Docker
  • I use Atom as a client - I'm hoping others work
  • I use OS X - I'm hoping others work

Running

The expectation is that you will be running this using the Atom package ide-ruby. In general this expects to be launched like

docker run -v PROJECT_ROOT:/project -w /project ruby_language_server

You must mount the project directory to /project

Development

Clone. I love git HubFlow.

docker run -it -v $PWD:/tmp/src -w /tmp/src ruby_language_server bash -c 'bundle && guard'

(in zsh:)

while (true)
do
  docker build -t local_ruby_language_server .
  sleep 2
done
  • In Atom: install the ide-ruby.
  • Settings > Packages > ide-ruby > Image Name > local_ruby_language_server
  • CMD-ALT-CTRL-l (that's an L) will reload the window
  • CMD-ALT-i will show debugging info

Write tests and guard will run them. Make changes and reload the window. Test them out.

Similar

Authors

Contributors

  • Your name here!

About

Language Server implementation in Ruby for Ruby. Development happens on the develop branch. Production is master.

License:MIT License


Languages

Language:Ruby 100.0%