redhat-developer / redhat-developer/quarkus-ls

Handle spaces in parameters to functions in Qute templates

Open
#781 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug qute
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.