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

Duplicate template data when using type safe expressions #750

Closed
rgrunber opened this issue Sep 26, 2022 · 0 comments · Fixed by #751
Closed

Duplicate template data when using type safe expressions #750

rgrunber opened this issue Sep 26, 2022 · 0 comments · Fixed by #751
Assignees
Labels
bug Something isn't working qute
Milestone

Comments

@rgrunber
Copy link
Member

  • Use the .data(..) method to add some parameters to the Template object, in the Java source file
  • Use the type-safe expression format to declare those parameters in the Qute template

Attempting to trigger completion in the Qute template with {|} (| for cursor) will cause duplicates of the parameters to be displayed.

qute-duplicate-params

@rgrunber rgrunber added bug Something isn't working qute labels Sep 26, 2022
@datho7561 datho7561 self-assigned this Sep 26, 2022
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Sep 26, 2022
Fixes redhat-developer#750

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Sep 27, 2022
Fixes redhat-developer#750

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Sep 29, 2022
Fixes redhat-developer#750

Signed-off-by: David Thompson <davthomp@redhat.com>
@rgrunber rgrunber added this to the 0.13.0 milestone Sep 30, 2022
rgrunber pushed a commit that referenced this issue Sep 30, 2022
Fixes #750

Signed-off-by: David Thompson <davthomp@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working qute
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants