GithubHelp home page GithubHelp logo

browserifynavigation's Introduction

Overview

Description

This plug-in is used for navigating modules within browserified projects, specifically (exclusively?) those processed by grunt-browserify-navigation. See this screencast for a demo (within the screencast the Sublime Text command is being triggered via a keyboard shortcut).

Installation

via Source Control

Sublime stores packages in the following locations (replace '3' with '2' to use with Sublime Text 2):

Nix: ~/.config/sublime-text-3/packages
Mac: ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
Win: %APPDATA%\Sublime Text 3\Packages

As a repository within the packages directory

Open a Terminal/Console and run the following commands, replacing PACKAGE_PATH with the path corresponding to your OS above.

cd PACKAGE_PATH
git clone https://github.com/trabian/BrowserifyNavigation.git

Updating

If you are using Package Control, updating will be automatic and you don't have to worry about it.

If using Source Control:

cd "PACKAGE_PATH/BrowserifyNavigation"
git fetch origin
git merge origin/master

Shortcuts

You can access the commands either using the shortcuts.

ctrl+r - Navigate to the module referenced within a `require` statement on the current line
g+r - Same as above but when in `command` mode within Vintage Mode

Go to Preferences > Package Settings > Browserify Navigation > Key Bindings - User to change these shortcuts.

Settings

Go to Preferences > Package Settings > Browserify Navigation > Settings - User to change settings.

{

  /*
    The namespace for the redis keys where the browserify references are stored. See https://github.com/trabian/grunt-browserify-navigation#options for details.
  */
  "namespace" : "browserify",

  /*
    Redis configuration options. The defaults below are the standard defaults for a Redis server running on the same development computer.
  */
  "redis_port": 6379,
  "redis_host": "localhost",
  "redis_db": 0
}

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.