[Feature Request] Autocomplete candidate should sort by match, then alphabetically
Open
A-ui-ux
C-improvement
S-verified
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
Autocomplete should be sorted by most important matches first, then only by alphabetically.
For example, I have 2 variables, named `clientId` and `adminClientId`. When I type `client` and Ctrl + Space, `clientId` should be the first.

Contributor guide
Research direction
Start by locating the autocomplete candidate generation and sorting entry point in the TypeScript client. Reproduce the example with `clientId` and `adminClientId`, then verify that candidates prioritize match quality before alphabetical order; the issue does not name a specific file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100