intellij-emberjs
intellij-emberjs copied to clipboard
Include router in class search
It would be quite helpful if router instances were included in the list of classes. I can get there fairly easily, of course, by navigating to the file proper, but especially with the notion of local routing coming at some point with engines and local resolution, it will be really nice.
This isn't urgent by any means; just a very big "would be nice."
I think with the whole new module system I might have to rethink a lot of the current concepts anyway. I'd be happy to review any PRs in that direction though :wink:
I've actually found out by now that all the files in the app folder are added to the container as e.g. router:main and app:main, so we should probably modify our filepath-to-module-name algorithm to account for these files and our name formatter to drop the main suffix or format it somewhat differently.