redhat-developer / redhat-developer/quarkus-ls
Type hover in Qute lists a method parameter of primitive type as the object version of that type
Open
Nobody has claimed this yet.
bug
hover
qute
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
Given the qute template:
{@java.lang.String string}
{#let name=string.charAt(0) /}
Hovering over 0 displays Integer, even though the method charAt expects int.
See https://github.com/redhat-developer/quarkus-ls/pull/718#issuecomment-1225416001 for screenshots
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
Reproduce the Qute template in the issue and inspect the hover behavior for the charAt(0) call, using the linked pull request comment for context. The fix is complete when hovering over 0 reports the primitive int parameter type rather than Integer.
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
- 45/100