MoonshotAI / MoonshotAI/kimi-cli

[Feature Request] Editable path bar with autocomplete in Workspace files sidebar

Open
#2,216 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

Feature Request

Add an editable path bar with smart autocomplete to the Workspace files sidebar, allowing users to navigate directories by typing paths directly instead of relying solely on mouse clicks.

Motivation

Currently, the Workspace files sidebar only supports navigation via mouse interactions:

  • Click the > arrow on a directory to enter it
  • Click Up / Root buttons to go back

This is tedious when working with deeply nested project structures (e.g., ./projects/vcp-mate/src/components). Users have no way to jump directly to a specific path.

Proposed Solution

1. Editable Path Input

Replace the static path display with an <input> field:

  • Type a path and press Enter to jump directly to that directory
  • Input value syncs automatically when navigating via clicks
2. Smart Autocomplete Dropdown

Two complementary modes:

Filter mode (while typing)

  • ./projects/vcp → lists ./projects/ entries filtered by vcp*
  • docker → lists current directory entries filtered by docker*

Focus-directory mode (on click/focus)

  • When the input shows a complete directory path like ./projects/HY-World-2.0
  • On focus, automatically detect it is a directory and list its contents (src/, docs/, etc.)
3. Keyboard & Mouse Support
Key Action
/ Navigate suggestions
Enter Select suggestion or jump to typed path
Escape Close dropdown
Mouse click Select suggestion
4. IME Support

Handle CJK input method composition correctly.

Related

  • PR: #2215 (implementation)
  • Related bug fix: #2206 (long filename overflow)

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 reviewing PR #2215, which is identified as the implementation for this request, and compare it with related bug fix #2206. Done means the Workspace files sidebar has an editable path input, filtered and focus-directory autocomplete, keyboard and mouse selection, synchronized navigation, and correct IME composition handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.