posit-dev / posit-dev/ark

Package prefixes shouldn't appear before all other completions

Open
#789 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: language server
Dominant language
Rust
Stars
337
Forks
32
Avg merge
8d 17h
Merged PRs (30d)
11

Description

In the completion list, all of the installed packages appear in prefix form before any other completions. It's most obvious in the case of "all completions" (seen in recording below), but the phenomenon is there even when there's been filtering based on what's already been typed.

https://github.com/user-attachments/assets/c0d1a943-9594-43ec-9136-b8ae93c05123

It doesn't feel right to me that all of the entries like {} asciicast::, {} askpass::, etc. appear before any other type of completion.

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 completion list shown in the attached recording, including the all-completions case and a filtered case. Trace the completion ordering from the relevant entry point, then verify that package-prefix entries no longer appear before every other completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.