Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Rails Flip-FlopNew to Visual Studio Code? Get it now.
Rails Flip-Flop

Rails Flip-Flop

bweave

|
4,342 installs
| (0) | Free
Flip from application code to the related test/spec, and vice versa.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rails Flip-Flop

View on Github

Flip-flop from code to the related test, and vice-versa in Visual Studio Code

See it in action

WIP

This extension is a WIP. And like most OSS, I get to work on it here and there, but not often. PR contributions are definitely welcome!

TODO

  • [x] Open files in split
  • [ ] Optionally open files in split
  • [ ] Write tests

Usage

Open the command pallet and start typing "flip-flop". With "Rails Flip-Flop" highlighted, hit return and flip over to the related file for the currently open file. If the file doesn't exist, you'll be prompted with the option to create it.

It's recommended to setup a keyboard shortcut to access this command quickly.

Known Issues

None, so far! By all means tho, lemme know if you find an issue!

Release Notes

0.0.4

Just some housekeeping. Adds a repo and icon to package.json.

0.0.3

  • Add some tests
  • Open files in a split

0.0.2

  • Fix those links to Github

0.0.1

Initial release


Inspired by tpope/vim-rails & rails-go-to-spec-vscode. Icon created by hunotika from Noun Project

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft