Sublime Forum

GoToSpec plugin

#1

The idea behind this plugin is to jump between the RSpec spec file and the test target file, opening both in separate splits for Ruby and Rails projects.

Here’s an animated gif of it working:

A 720p YouTube video (best viewed in fullscreen):

http://www.youtube.com/watch?v=on6gR4aEl7k

And the link to the source in GitHub:

https://github.com/webbynode/GoToSpec

If you try this out, let me know what you think.

Best,

– Felipe.

0 Likes

#2

Hi Felipe,

Thanks for making this, coming to sublime text from textmate, I was looking for something that did this like I was used to. A couple suggestions:

  1. The key combo is a little awkward for me, how about ctrl+shift+down like it was in textmate’s go to alternate file?

  2. It would be nice to configure whether you wanted the spec to open in split screen or not. Split screen is fine on my desktop but not so much on my laptop.

  3. It’s not working property for my views that are in haml. For example from app/views/accounts/new.haml it tries to create spec/views/new_spec.haml instead of new.haml_spec.rb

I think this is off to a great start!

Jared

0 Likes