rails-run-spec-vscode icon indicating copy to clipboard operation
rails-run-spec-vscode copied to clipboard

[Feature request] Open spec file, open implementation file

Open cabello opened this issue 6 years ago • 2 comments

Hi :wave:, thanks for the gem I use it everyday and it's very convenient.

One thing I miss from Rubymine is being able to open the spec file if I am looking at the implementation and vice-versa.

For example:

  • I have my editor open for app/models/foo.rb
  • I press a shortcut and the editor opens a new tab spec/models/foo_spec.rb

The opposite should also work.

Thanks 🙇

cabello avatar Aug 28 '18 16:08 cabello

I found a separate extension that does this if you're still looking!

https://github.com/sporto/rails-go-to-spec-vscode

katbow avatar Sep 12 '18 14:09 katbow

I'd also be in favour of having this functionality built in. Best if the matching file opens in a new editor to the right.

Thank you

mtomov avatar Aug 29 '19 10:08 mtomov