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

Issue where a route/model/controller called "service" shows up as a service icon in the folder tree

Open seawatts opened this issue 7 years ago • 3 comments

image

seawatts avatar Jan 09 '17 19:01 seawatts

I suspect the file is being detected as the "models" service under pods structure. The detection prefers pods structure over classic (whether or not you use the pods structure in your app).

dwickern avatar Jan 09 '17 22:01 dwickern

Ah, that makes sense. Yeah I'm using classic structure.

seawatts avatar Jan 09 '17 22:01 seawatts

I have to admit that I can't remember why pods structure is being prefered. I'm open to PRs that change that, as long as we have proper tests in place for this.

Turbo87 avatar Jan 10 '17 08:01 Turbo87