/rails-flip-flop

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

Primary LanguageTypeScript

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

  • 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