krok
krok

Reputation: 143

How to set up Ruby / RoR methods autocomplete with sublimecodeintel in Sublime Text 3?

Goal: Using sublimecodeintel + ctags, have Sublime text 3 autocomplete show available methods for each class.
Example:
typing "[1,2,3]." should give options like
to_s
.to_a
.to_ary
.empty?

I have searched extensively on the topic for the past couple of days. the idea is to make sublime text aware of the RVM-Ruby being used for the project and have autocomplete prompt the available methods.
This isn't a sublime text 3 (build 3047, osx mavericks), sublimecodeintel or ctags issue. Sublimecodeintel is verified working - it autocompletes for classes defined in project. ctags have been installed using brew. and the built up tags file contains tags from across the project. Its more of a correct set of settings / order of installing the plugins to get it working.

Any help would be much appreciated!

Upvotes: 4

Views: 1911

Answers (1)

Bruno Casali
Bruno Casali

Reputation: 1380

I think that you want this: go in View -> Syntax -> Rails for the use highlights CTRL+SPACE

Upvotes: 2

Related Questions