Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Ruby on Rails Project Navigation Made Easy
Python JavaScript
Branch: master
Failed to load latest commit information.
screenshots Show the app path rather than the full file path and updated screenshots
vendor Add backward compatibility with python 2
.gitignore Ignore .pyc files
Context.sublime-menu Adding all the files
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap Adding all the files
Default (Windows).sublime-keymap Adding all the files
Main.sublime-menu Create Main.sublime-menu
README.markdown Update README.markdown Add backward compatibility with python 2
Rails.sublime-settings Adding all the files Adding all the files


Sublime Text 2/3 - Rails Related Files

Note: I've never written any Python code before! So feel free to implement best practices and make a pull request.

This plugin allows you to easily navigate your Rails projects by making a few basic assumptions. I wrote this so I didnt have to constantly use the SideBar to lookup files!

Ok, so lets imagine you "right clicked" on the following file/s (Screenshot 2) or by using the "CMD+Shift+O" shortcut (Screenshot 1) it will search for files:

posts_controller.rb under app/controllers

If it was under the "admin" namespace e.g. app/controllers/admin/posts_controller.rb then it will look under views/admin/posts/** and vice versa.

views/posts/** - All files under this folder
models/post**  - Models starting with "post"

show.html.erb under app/views/posts

models/post**             - Models starting with "post"
views/posts/**            - All files in this folder
assets/javascript/post**  - Any javascript file starting with "post"
assets/stylesheets/post** - Any stylesheet file starting with "post"
controllers/post**        - Any controller file starting with "post"

post.rb model under app/models

models/post**         - Models starting with "post"
views/posts/**        - All files in this folder
views/**/posts/**     - All files in this folder (e.g. admin namespace)
controllers/post**    - Any controller starting with "post"
controllers/**/post** - Any controller starting with "post" (e.g. admin namespace)

If you want to disable the context menu, just edit the Rails.sublime-settings file changing "show_context_menu" to false.


Maybe we can extract the possible partials being used in the current file e.g. render "post" or even render @posts, we know where to look > app/views/posts/_post


Here I've pressed the shortcut key when looking at the "page.rb" file under models.

Quick Panel

Quick Panel

Context Menu

Context Menu



Something went wrong with that request. Please try again.