LoginSignup
19
15

More than 5 years have passed since last update.

atomでjavascriptでrequire/importしたファイルにジャンプする

Last updated at Posted at 2016-05-06

入れるべきパッケージ

https://atom.io/packages/hyperclick
https://atom.io/packages/js-hyperclick

使い方

cmd押しながらクリックすればおk
jsxもcoffeeもおk

ずっと探してた。
パッケージ見つけるのむずい。

問題

でも過去記事のやつ
webpackでrequireやimportのパスのroot指定する
と併用できない。ぐへ。

一旦の回避策はjs-hyperclickの中身をいじること
https://github.com/AsaAyers/js-hyperclick/issues/17#issuecomment-212885213

[2016-10-21]
神修正来た
https://github.com/AsaAyers/js-hyperclick/pull/32

package.json
{
  ...
  "moduleRoots": [ "ここにpathを書く" ],
  ...
}
19
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
15