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

Syntax coloration for operator support for #if #478

Closed
angelozerr opened this issue Mar 23, 2022 · 1 comment · Fixed by #480
Closed

Syntax coloration for operator support for #if #478

angelozerr opened this issue Mar 23, 2022 · 1 comment · Fixed by #480
Assignees
Milestone

Comments

@angelozerr
Copy link
Contributor

The operators used in #if must be improved. At first the operator must be available only for #if. Here a sample with eq:

image

The eq used in #if is higlighted as purple (it's correct), but it is higlighted too inside expression (the second eq), which is false.

It misses some operator like and. You can find all alowed operator for #if at https://quarkus.io/guides/qute-reference#if_section

You can see too Junit at https://github.com/quarkusio/quarkus/blob/main/independent-projects/qute/core/src/test/java/io/quarkus/qute/IfSectionTest.java with #if to have some sample

@angelozerr
Copy link
Contributor Author

It works only for the first operator. See sample with 2 ors:

image

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