RubyFlow The Ruby and Rails community linklog

SwitchFile - a basic utility for jumping across files

SwitchFile is a basic utility for jumping across files. With it, you can open the matching controller, helper, spec of a model file or whatever. You can configure the type of files it recognizes via a simple ruby configuration file.

Yeah, it’s not entirely groundbreaking, but I needed this functionality for my editor. So here it is. Hope you like it!

Comments

Not to be dismissive, but those using Textmate that would not benefit from this gem, alt+command+down does the same thing. Add shift to get a choice popup if multiple files relate.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in