1jehuang / 1jehuang/jcode

Add @ file-reference autocomplete in the input box

Open
#934 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

autonomous: no enhancement priority: medium triage: needs-decision ux
Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
30

Description

Problem

There's currently no way to search for and reference a file from the input box.
You have to type or paste the full path manually, which is slow and error-prone.

Proposed feature

Typing @ opens an inline file-search popup:

  • Results filter live as you keep typing (fuzzy match on file name and path).
  • Tab or Enter selects the highlighted result; arrow keys move the highlight.
  • Clicking a result also selects it.
  • Selecting inserts a reference to that file into the message.
  • Esc dismisses the popup and leaves the literal @ text.

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

Start by locating the input-box implementation and the existing file-search or file-indexing entry points. Verify how keyboard and mouse selection are handled before adding the popup behavior. Done means @ opens live fuzzy file results, selection inserts a file reference, and Esc preserves the literal @ text.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.