rsense

May 29, 2018 ยท View on GitHub

A vy plugin that allows autocompletion for ruby using rsense.

Dependencies

rsense

https://github.com/rsense/rsense

requests

http://docs.python-requests.org/en/master/

Install

You can install rsense with:

gem install rsense

Then the python requests module:

pip install requests
# Ruby auto completion using rsense.
# It is needed to start rsense daemon first. 
# Note: When first starting the daemon, it may take
# some time for rsense to set up working.

import rsense
# Set here your rsense path in case it is not avaiable
# in the environment.
# rsense.RubyCompletion.PATH = 'path/to/rsense'

# This is the port that the daemon will run.
# rsense.RubyCompletion.PORT = 47367
autoload(rsense)