redhat-developer / redhat-developer/quarkus-ls

Wrong behavior of completion

Open
#328 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The following use case produces strange behavior on Eclipse and IntelliJ:

  1. enter quark
  2. ask for code completion (Ctrl + space)
  3. while the proposal are displayed, enter us in the document (content is now quarkus)
  4. press the left key twice (cursor should be back on k
  5. choose one proposal (ex quarkus.application.name)

Output is:
quarkus.application.name=us

Please note this does not happen on VSCode as VSCode disables the proposals as soon as we enter the back key

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 numbered completion sequence in an Eclipse or IntelliJ client and compare it with VSCode's behavior. Trace how completion state is handled after document edits and cursor movement, then identify the relevant completion path. Done means selecting quarkus.application.name after the described edits produces the correct completion in Eclipse and IntelliJ, with regression coverage for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.