-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Qute parser - show the template path and line number in error messages #6164
Comments
To support Qute validation inside an editor (with syntax error) like redhat-developer/vscode-quarkus#178 it's very important to have detailed information about the error:
For instance:
should report an error in line=0, character=11, or offset =11. Ideally, the error should be an error range to highlight the {name interpolation:
Error reporting is an hard thing to manage but please consider it if you want to have an advanced editor which highlights syntax error. If this Qute parser could be more tolerant we could report several errors and not only the first error. |
We do show this info when validating template expressions.
The text was updated successfully, but these errors were encountered: