Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Completion for enum for #switch section #690

Closed
angelozerr opened this issue Aug 1, 2022 · 0 comments · Fixed by #710
Closed

Completion for enum for #switch section #690

angelozerr opened this issue Aug 1, 2022 · 0 comments · Fixed by #710
Assignees
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Aug 1, 2022

See https://quarkus.io/guides/qute-reference#when_section

Given this template where machine.status is an anum with ON, OFF and BROKEN value:

{#when machine.status}
  {#is |} 
    It's running. 
{/when}

completion on | should show ON, OFF and BROKEN.

{#when machine.status}
  {#is ON |} 
    It's running. 
{/when}

completion on | should showOFF and BROKEN (and not ON).

@angelozerr angelozerr changed the title Support completion for enum for #switch section Completion for enum for #switch section Aug 1, 2022
@angelozerr angelozerr added this to the 0.13.0 milestone Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants