Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Search input: completion then enter sometimes inserts a lang: filter #57848

@camdencheek

Description

@camdencheek

I regularly hit this issue where I type repo:sourc, C-n to select github.com/sourcegraph/sourcegraph, Enter to accept the completion, then Enter to run the search. However, rather than submitting the search, sometimes the second Enter inserts a lang: filter instead.

CleanShot.2023-10-23.at.16.30.52.mp4

Sometimes, after accepting the completion with Enter, lang: is selected and sometimes it is not (see two screenshots below). I have not been able to establish a pattern of why it is sometimes selected.

CleanShot 2023-10-23 at 16 41 09@2x
CleanShot 2023-10-23 at 16 40 55@2x

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions