lifeart / els-addon-typed-templates

Ember templates linting / autocomplete, based on Typescript language server
30 stars 3 forks source link

todo: Check pod-style controllers autocomplete in templates #22

Open lifeart opened 4 years ago

lifeart commented 4 years ago

ref: https://github.com/lifeart/els-addon-typed-templates/pull/20#issuecomment-633357414 cc: @pdud

lifeart commented 4 years ago

@pdud could you check behavour with Unsbale Ember Language Server @ 1.5.1?

pdud commented 4 years ago

@lifeart it works well for every controller's template besides that one from last week! 🎉

Some info/ things I tried

For example this will work

...
{{#if this.isThing}}
  <GlimerComponent
    any 2 `@args` but not more
  />
{{else}}
  <EmberComponent />
{{/if}}
...

Anything I can try? I could try create a reproduction of it if needed.

lifeart commented 4 years ago

@pdud yes, have an reproduction repo will be great!

pdud commented 4 years ago

Hi @lifeart this should do the trick!

https://github.com/pdud/els-debug

Thanks for your patience!