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

Rails Open​View

by harekal7 ALL

Sublime Text Package

Details

  • 0.1.2
  • github.​com
  • github.​com
  • 10 years ago
  • 30 minutes ago
  • 10 years ago

Installs

  • Total 2K
  • Win 443
  • Mac 1K
  • Linux 734
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 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 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 0 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 1 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 )