GithubHelp home page GithubHelp logo

rails-openview's Introduction

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 )

rails-openview's People

Contributors

harekal7 avatar

Watchers

Mohammad Babaei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.