Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianhattendorf/autocomplete-ruby
Provides intelligent code completion for Ruby in the Atom editor. Requires RSense.
https://github.com/ianhattendorf/autocomplete-ruby
atom autocomplete autocomplete-ruby coffeescript rsense ruby unmaintained
Last synced: 2 months ago
JSON representation
Provides intelligent code completion for Ruby in the Atom editor. Requires RSense.
- Host: GitHub
- URL: https://github.com/ianhattendorf/autocomplete-ruby
- Owner: ianhattendorf
- License: mit
- Created: 2015-02-24T23:39:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T18:18:45.000Z (over 6 years ago)
- Last Synced: 2024-10-14T15:52:26.606Z (3 months ago)
- Topics: atom, autocomplete, autocomplete-ruby, coffeescript, rsense, ruby, unmaintained
- Language: CoffeeScript
- Size: 36.1 KB
- Stars: 51
- Watchers: 9
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Atom Autocomplete+ Ruby Suggestions
[![Dependency status](https://david-dm.org/ianhattendorf/autocomplete-ruby.svg)](https://david-dm.org/ianhattendorf/autocomplete-ruby)
[![GitHub version](https://badge.fury.io/gh/ianhattendorf%2Fautocomplete-ruby.svg)](http://badge.fury.io/gh/ianhattendorf%2Fautocomplete-ruby)Provides intelligent code completion for Ruby. Requires [RSense](https://github.com/rsense/rsense) and [Autocomplete+](https://github.com/atom-community/autocomplete-plus).
## :no_entry: [UNMAINTAINED]
[RSense](https://github.com/rsense/rsense) hasn't been actively developed since late 2014 leaving many unresolved bugs.For a possible alternative, see [atom-solargraph](https://github.com/castwide/atom-solargraph), based on [solargraph](https://github.com/castwide/solargraph), which is currently (April 2018) seeing active development.
## Status
Works for the most part, however **not on Windows**. This is due to a bug in [RSense](https://github.com/rsense/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](#known-issues) before reporting any issues.
## Why?
Because I wanted Ruby code completion in Atom and [atom-rsense](https://github.com/rsense/atom-rsense) is broken and hasn't been updated since June 2014.## Installation
Make sure you have Java installed on your machine.Install rsense:
```shell
$ 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:
```shell
$ git clone [email protected]:ianhattendorf/autocomplete-ruby.git
```Install dependencies:
```shell
$ cd autocomplete-ruby
$ apm install
```Link to Atom as a dev package:
```shell
$ apm link --dev
```Feel free to fork it and submit a pull request for any changes you make.