Skip to content

Commit

Permalink
fix: Completion label matching always ends very early
Browse files Browse the repository at this point in the history
Fixes redhat-developer#383

Signed-off-by: azerr <azerr@redhat.com>
  • Loading branch information
angelozerr committed Aug 9, 2024
1 parent 23026ec commit f71e161
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -627,4 +627,11 @@ public TargetPresentation computePresentation() {
.builder(getItem().getLabel())
.presentation();
}

@Override
public boolean isWorthShowingInAutoPopup() {
// leaves the completion popup open all the time when there is only one item
return true;
}

}

0 comments on commit f71e161

Please sign in to comment.