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

Add support for ember-decorators

Open rogatty opened this issue 7 years ago • 5 comments

If you want to use JS native classes you also need to use http://ember-decorators.github.io/ember-decorators/latest/docs. Currently, this plugin doesn't understand what the decorators mean. When using the @service decorator, there is no lightning bolt icon linking to the service, unlike when using serviceName: service().

screenshot

rogatty avatar Jul 05 '18 07:07 rogatty

@rogatty that would be nice! can you work on adding support for that?

Turbo87 avatar Jul 05 '18 07:07 Turbo87

I have no experience with Kotlin or IntelliJ plugins but I'll try to poke it with a stick if I find the time for it. I opened this issue mostly to let you know that there is a new Ember feature that will be more and more popular as people migrate to the native classes. If I don't get to it first, I hope the hundreds of :+1: :+1: :+1: on the original post will get your attention :wink:

rogatty avatar Jul 05 '18 08:07 rogatty

there is a new Ember feature

it's not an Ember feature yet though, only an addon that promotes an unstable ES proposal. once this gets into mainstream Ember I could have a look, but for now it's not high on my todo list 😉

Turbo87 avatar Jul 05 '18 08:07 Turbo87

Octane is almost done and this addon is very outdated compared to it. This is probably the main feature that is needed though.

robclancy avatar Aug 20 '19 18:08 robclancy

@robclancy I agree, would be great if someone could find the time to work on this.

Turbo87 avatar Nov 10 '19 17:11 Turbo87