Skip to content

feat: add mention menu browser mode and configure walk depth#3

Merged
buko merged 2 commits into
mainfrom
feat/mention-menu-limit-2
May 30, 2026
Merged

feat: add mention menu browser mode and configure walk depth#3
buko merged 2 commits into
mainfrom
feat/mention-menu-limit-2

Conversation

@buko
Copy link
Copy Markdown
Owner

@buko buko commented May 30, 2026

This commit introduces significant enhancements to the @-mention file completion menu:

  1. Mention Menu Behavior (mention_menu_behavior): Adds a new setting to toggle between fuzzy (default) and browser mode. In browser mode, the menu acts as a strict directory-level file browser, making it much easier to navigate through specific folders without fuzzy matching cluttering the results.
  2. Configurable Walk Depth (mention_walk_depth): Replaces the hardcoded COMPLETIONS_WALK_DEPTH of 6 with a configurable setting. Users with deeply-nested workspaces can increase this to ensure deep files are discovered, or set it to 0 for unlimited depth (with caution).
  3. Local Reference Path Scanning: Increases the LOCAL_REFERENCE_SCAN_LIMIT from 4,096 to 100,000, ensuring massive repositories can fully populate the completion menu when requested.

Test added 2 commits May 31, 2026 01:56
This commit introduces significant enhancements to the @-mention file completion menu:
1. Mention Menu Behavior (mention_menu_behavior): Adds a new setting to toggle between uzzy (default) and �rowser mode. In �rowser mode, the menu acts as a strict directory-level file browser, making it much easier to navigate through specific folders without fuzzy matching cluttering the results.
2. Configurable Walk Depth (mention_walk_depth): Replaces the hardcoded COMPLETIONS_WALK_DEPTH of 6 with a configurable setting. Users with deeply-nested workspaces can increase this to ensure deep files are discovered, or set it to 0 for unlimited depth (with caution).
3. Local Reference Path Scanning: Increases the LOCAL_REFERENCE_SCAN_LIMIT from 4,096 to 100,000, ensuring massive repositories can fully populate the completion menu when requested.
# Conflicts:
#	crates/tui/src/settings.rs
#	crates/tui/src/tui/app.rs
@buko buko merged commit d47834b into main May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant