warpdotdev / warpdotdev/warp

Autosuggestion and completions should match

Open
#3,513 7 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:completions enhancement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Describe the solution you'd like?
Autocompletions (the greyed out text after the cursor in the editor) should match the first option in the completions menu (the popover). Pressing tab should accept this match.
Is your feature request related to a problem? Please describe.
Currently, the autosuggestion feature often shows different suggestions than the autocompletions popover. This is pretty confusing. Pressing tab will accept the autosuggestion, pressing enter will accept the autocompletion.
Additional context
image

I know there is a new setting to toggle the tab behavior, but it's still very confusing how this is meant to work. Why are they different?

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

None

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

No files, tests, or entry points are named in the issue. Start by locating the editor autosuggestion and completions-menu paths, then compare how each selects its suggestion. Done means the greyed-out autosuggestion matches the first popover option and Tab accepts that same match.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
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.