feat: add mention menu browser mode and configure walk depth#3
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces significant enhancements to the @-mention file completion menu:
mention_menu_behavior): Adds a new setting to toggle betweenfuzzy(default) andbrowsermode. Inbrowsermode, 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.mention_walk_depth): Replaces the hardcodedCOMPLETIONS_WALK_DEPTHof 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).LOCAL_REFERENCE_SCAN_LIMITfrom 4,096 to 100,000, ensuring massive repositories can fully populate the completion menu when requested.