Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim details autocomplete for Rails

I found nice detail autocomplete for python

enter image description here

Is there analog with description of methods for Ruby on Rails?

like image 837
Vyacheslav Loginov Avatar asked Sep 21 '11 14:09

Vyacheslav Loginov


Video Answer


1 Answers

There is a nice article "Using VIM as a complete Ruby on Rails IDE" which references rails.vim. This seems to be the de-facto standard on Rails for VIM. (However, I have not used it yet, but will try it soon.) This allows you to do a lot of Rails related tasks, but does not help with auto completion.

There is another article "Ruby Autocomplete in Vim" (which is sadly no longer available) which is what you are searching for. I do not know, if it is sufficient clever to understand all the plugin magic and meta-programming stuff of Rails. It mentions Rails at least in its configuration for vim.

So good luck :-)

like image 141
mliebelt Avatar answered Nov 15 '22 19:11

mliebelt