redhat-developer / redhat-developer/quarkus-ls
Handle spaces in parameters to functions in Qute templates
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
If you have a qute template that executes a Java method with parameters:
<h3>{myString.substring(1, 2)}</h3>
The parser doesn't handle the space between the , and the 2 properly, meaning it doesn't recognize any parameters past the 1, making it difficult to provide IDE features for method invocations in Qute templates.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Qute template expression {myString.substring(1, 2)} in the parser used by quarkus-ls. Trace how method arguments are recognized around the comma and space, then verify that parameters after the space are available for IDE features. The issue names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100