redhat-developer / redhat-developer/quarkus-ls

Completion applied within unclosed expression eats the following text

Open
#916 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug completion qute
Dominant language
Java
Stars
50
Forks
18
Avg merge
22h 11m
Merged PRs (30d)
3

Description

Given this Qute template:

{@String name}
{n|
{name}

when completion is triggered on | (before the n) and name is applied, it eats the following expression:

{@String name}
{name}

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

Reproduce completion on the provided Qute template with the cursor before the n in the unclosed expression. Start from the completion handling for this template shape and verify that applying name no longer removes the following expression; the issue does not mention a specific file or test.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.