Atom Packages Directory

a package directory for a text editor of the 21st Century

Relative Require by Stuart Williams

Install with:
    apm install relative-require
  

Relative Require Build Status Stories in Ready

Injects module require statements with the correct relative require path

Usage

Drag & drop from the tree view

Demo

Right click from the tree view

Demo

Using the hotkey ctrl-alt-r

Demo

Right click in the editor

Demo

Features

Configuration

Option Defaults Description
Omit File Extensions “js”, “jsx” Omit the extension from the require path for these file types
Exclude Directories ”^\.”, “node_modules”, “bower_components” Exclude these directories from the module search
Keywords: javascript, relative, require, import, module Suggest keywords
Fork me on GitHub