Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Autocomplete support for key argument of {{#each}} helper #363

Closed
bertdeblock opened this issue Feb 24, 2022 · 1 comment · Fixed by #367
Closed

Autocomplete support for key argument of {{#each}} helper #363

bertdeblock opened this issue Feb 24, 2022 · 1 comment · Fixed by #367

Comments

@bertdeblock
Copy link

{{#each (array 1 2 3 4 5) key="@identity" as |number|}}
  {{number}}
{{/each}}

The key argument accepts two fixed special values: @index and @identity.
I think it would be nice if this could be autocompleted.

@lifeart
Copy link
Owner

lifeart commented Mar 28, 2022

Hi @bertdeblock! Thank you for request and sorry for delay.

This feature will be available in uELS 3.0.22.

There is some limitations:

Autocomplete works fine only for valid hbs syntax.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants