atom-open-this
atom-open-this copied to clipboard
resolve and open by (beforehand) given paths?
Hi, I have a rails app and directory structure like this:
./app/assets/app/modules.js
./app/assets/app/routes.js
./app/assets/app/*
./app/assets/pages/*
./app/assets/partials/*
./app/assets/layouts/*
./gulpfile.babel.js
./.babelrc
./.gitignore
etc.
I will writing import { ngApp } from 'app/modules'
, import 'app/routes'
etc, and resolve by babel resolveModuleSource or NODE_PATH=./
.
for now, I have no workaround on this issue.
BTW, atom-autocomplete-modules provided me to configure the Verdor Directories with
Did you have any ideas?
Okay, will try to search user configured pattern. But Im little busy for now need a week to implement. Thanks for suggestion!
In webpack, you can configure the option resolve.root
to a custom directory, other than node_moduels
. This is how I work with big compiled JS projects.
It would be so awesome if this package looked that setting up and searched those directories too!
I like this idea. Any development since last year?