Skip to content

Conversation

@Grin1024
Copy link

@Grin1024 Grin1024 commented Jan 29, 2026

Description:

This PR improves the shell autocomplete experience for file mentions.

Changes:

  • UX Improvement : When a user selects a file from the @ mention list (e.g., README.md ), the completer now automatically appends a space (resulting in README.md ). This allows users to immediately continue typing their query without manually adding a separator.
  • Logic : The logic checks if the candidate text ends with / . If not (implying it is a file), a space is appended.
  • Tests : Updated test_top_level_paths_skip_ignored_names to match the new behavior.

Related Issue

Resolve

Description

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked the related issue, if any.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run make gen-changelog to update the changelog.
  • I have run make gen-docs to update the user documentation.

Open with Devin

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional flags.

Open in Devin Review

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