Any tips for vim integration?

33 views
Skip to first unread message

Erik Terpstra

unread,
Oct 5, 2010, 10:21:54 AM10/5/10
to ruby-reek
Does anyone know of a good way to integrate reek in the vim editor?

TIA,

Erik.

Kevin Rutherford

unread,
Oct 6, 2010, 3:39:53 PM10/6/10
to ruby...@googlegroups.com
Hi Erik,

> Does anyone know of a good way to integrate reek in the vim editor?

Interesting question! Can I ask what you're hoping to achieve by doing that?
Cheers,
Kevin
--
http://www.kevinrutherford.co.uk -- agile, TDD, XP, lean, TOC

Erik Terpstra

unread,
Oct 7, 2010, 11:03:46 AM10/7/10
to ruby-reek
On Oct 6, 9:39 pm, Kevin Rutherford <ke...@rutherford-software.com>
wrote:
> Hi Erik,
>
> > Does anyone know of a good way to integrate reek in the vim editor?
>
> Interesting question! Can I ask what you're hoping to achieve by doing that?

Well the problem with reek is that you need to run it on your source
code to get notified about long methods, large classes etc. etc.
I would rather be notified by my editor when f.e. a method gets to
long, but I suppose such behavior is not trivial to implement in a vim
script.

I general, I was just wondering what setups people are using that
happen to be users of both vim and reek.

--Erik

Kevin Rutherford

unread,
Oct 25, 2010, 4:37:01 AM10/25/10
to ruby...@googlegroups.com
Hi Erik,

> Well the problem with reek is that you need to run it on your source
> code to get notified about long methods, large classes etc. etc.
> I would rather be notified by my editor when f.e. a method gets to
> long, but I suppose such behavior is not trivial to implement in a vim
> script.

AFAIK no-one has integrated reek and vim yet.
But have you seen Enrique Comba's refactoring tool for vim:
http://github.com/ecomba/vim-ruby-refactoring

Erik Terpstra

unread,
Oct 25, 2010, 4:50:41 AM10/25/10
to ruby-reek
On Oct 25, 10:37 am, Kevin Rutherford <ke...@rutherford-software.com>
wrote:
> AFAIK no-one has integrated reek and vim yet.

Ok.

> But have you seen Enrique Comba's refactoring tool for vim:http://github.com/ecomba/vim-ruby-refactoring

Thanks, I will have a look at that (haven't heard of it before).

Cheers,

Erik.
Reply all
Reply to author
Forward
0 new messages