Atom package to navigate through your rails files
Ruby CoffeeScript HTML CSS JavaScript
Pull request Compare This branch is 7 commits behind fotanus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keymaps
lib
menus
spec
stylesheets
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

rails-navigation

This package provides commands to navigate through rails files while keeping some context - for example, when you keep your cursor in an action method on the cursor and navigates to the view, the correct view file should be open. Same for tests It is inspired on the great vim-rails.

What it does:

  • Go to model
  • Go to controller
  • Go to helper
  • Go to migration (the one that creates the record)
  • Go to view file
  • Go to test (rspec or test::unit)

What it will do:

  • Go to factory
  • Go to partial
  • Mailer support
  • Open in the same tab option

Keymaps

There is no keybinding defined for using without the vim-mode package - please feel free to suggest.

On vim command mode, the keybindings are g X, where X is:

  • m for model
  • c for controller
  • v for view
  • h for helper
  • s for test (spec - g t is already used on vim-mode)

Alternatives

  • atom-rails: Aims to be a replacement for vim-rails, but currently support only navigational features.
  • rails-transporter: A cool alternative using finder to complete views instead of open the current context.