intellij-emberjs
intellij-emberjs copied to clipboard
Support imports from root
So with the release of 2017.1 we've got some auto import management in intellij.
It would be awesome if you could some how intercept the pathing that it generates, and instead of it using relative paths, use absolute paths from root.
Example:
import {Time} from '../../../transforms/time';
Would rather
import {Time} from '<my-project>/transforms/time';
Not sure if this is a thing you could do or not, but would be rad :)
I did something similar in #103 to resolve module paths with the app root prefix. I wonder if JSModuleReferenceContributor
is in play when IntelliJ searches for exports.