You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/ianhattendorf/autocomplete-ruby

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ianhattendorf/autocomplete-ruby

v0.2.8
Source
Go
Version published
Created
Source

Atom Autocomplete+ Ruby Suggestions

Dependency status GitHub version

Provides intelligent code completion for Ruby. Requires RSense and Autocomplete+.

Status

Works for the most part, however not on Windows. This is due to a bug in RSense, which is no longer being developed. Any bugs/issues related to rsense itself will need to be reported in that repo, and probably won't be fixed.

Please read the Known Issues before reporting any issues.

Why?

Because I wanted Ruby code completion in Atom and atom-rsense is broken and hasn't been updated since June 2014.

Installation

Make sure you have Java installed on your machine.

Install rsense:

$ gem install rsense

If you get an error about not being able to find rsense after opening a ruby file, you will need to set the path to the rsense binary in the plugin settings. The path is different depending on which OS/Ruby environment manager you are using. Executing which rsense or gem environment might help you locate it.

Usage

Just type some stuff, and autocomplete+ will automatically show you some suggestions.

Note: If you use Winows, it might take about 10 seconds after the first suggestions pop up before rsense will give you any suggestions.

Known Issues

  • Sometimes the environment isn't configured correctly when launching Atom from it's launcher (any custom config in .bashrc, .bash_profile, etc.). If you have any issues with the plugin, please try launching atom from the terminal first: $ atom.
  • RSense doesn't appear to work on Windows.

Feel free to report any other issues you encounter.

Development

Clone the repository into your working directory:

$ git clone git@github.com:ianhattendorf/autocomplete-ruby.git

Install dependencies:

$ cd autocomplete-ruby
$ apm install

Link to Atom as a dev package:

$ apm link --dev

Feel free to fork it and submit a pull request for any changes you make.

FAQs

Package last updated on 04 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts