intellij-emberjs icon indicating copy to clipboard operation
intellij-emberjs copied to clipboard

Include router in class search

Open chriskrycho opened this issue 9 years ago • 2 comments
trafficstars

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."

chriskrycho avatar Apr 17 '16 13:04 chriskrycho

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:

Turbo87 avatar Apr 17 '16 14:04 Turbo87

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.

Turbo87 avatar Oct 15 '16 07:10 Turbo87