ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rails Open​View

by harekal7 ALL

Sublime Text Package

Details

Installs

  • Total 2K
  • Win 430
  • Mac 1K
  • Linux 731
Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Rails OpenView

Open Associated View for methods in a controller in Rails.

Installation for Sublime Text

Package Control (highly recommended)

Open command palette and type Install Package then type Rails OpenView and hit Enter or Return. Package Control will automatically download, install and update for you.

“git” command

Open your favourite Terminal application, browse to PACKAGES_PATH and run this command.

git clone git://github.com/harekal7/Rails-OpenView.git

Manual Installation

Download .zip file from this repository and browse to PACKAGES_PATH, extract .zip file and rename folder to Rails-OpenView, restart Sublime Text if you are currently open.

** PACKAGES_PATH is referred to a folder which can be accessed via the Preferences > Browse Packages...

Configuration

Open Preferences > Key Bindings-User and add { "keys": ["super+d"], "command": "rails_open_view" },

** You may use any other key bindings, whichever you will be comfortable with instead of super+d

Usage

Whenever cursor is on a view name in controller, for example on def index or redirect_to :action=>'index' or render :action => :new, hit super+d to open index.html.erb ( that particular view )