On Sun, Oct 26, 2008 at 4:11 PM, Steve <[EMAIL PROTECTED]> wrote:
> Does anyone know if there's a vim plugin out there that will show a tree of
> your describe/it blocks at a glance. Preferably with click ability to go
> right to that location?

It'd be awesome to have a ctags-esque feature for viewing a list of
example groups, but I've not seen such a thing. However, if you use
syntax-based folding for ruby files (:set foldmethod=syntax), then
collapsing all folds (zM) will show you your top-level example groups,
unfolding one will show the examples within it, etc. The only drawback
is that syntax-based folding gets a bit slow on particularly large or
deeply nested files.

HTH

k
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to