Kong / Kong/insomnia

[Feature Request] Autocomplete candidate should sort by match, then alphabetically

Open
#1,919 1 comment 0 reactions 0 assignees View on GitHub
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.

![image](https://user-images.githubusercontent.com/8718138/73533836-b1442500-445a-11ea-8f1f-c93764c4b07c.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.