Kong / Kong/insomnia

pre request autocomplete with key `tab`

Open
#7,713 6 comments 0 reactions 0 assignees View on GitHub
A-accessibility C-improvement S-verified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

To be able to use `TAB` key as vscode does

### Actual Behavior

Adds spaces instead of the autocomplete I want to use.

### Reproduction Steps

1. Go to pre request script
2. Type `insomnia.`
3. Use key `TAB`

### Is there an existing issue for this?

- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

it does work with key `ENTER` but not with `TAB`. Would appreciate if it could be added

### Insomnia Version

v9.3.2

### What operating system are you using?

Windows

### Operating System Version

Windows 10 Pro 22H2 19045.4651

### Installation method

download from website

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the pre-request script editor's autocomplete handling and compare the existing ENTER behavior with TAB on Windows. Verify that pressing TAB accepts the highlighted autocomplete suggestion instead of inserting spaces, while preserving the current ENTER behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.