Repository navigation
Set display_override and match_indices for file completions - #17424
Merged
Merged
Conversation
3 tasks
2 tasks done
ysthakur
marked this pull request as draft
February 8, 2026 01:48
Contributor
|
Are we ready to land this one and see if it breaks anything? |
Member
Author
|
@fdncred I looked at it a few days ago and noticed a comment I'd left in. I don't remember if I'd finished it completely, so I marked as draft. Let me confirm today |
ysthakur
marked this pull request as ready for review
February 12, 2026 11:11
Member
Author
|
@fdncred Okay, looks like it was just that one comment I forgot to take out. Should be good to merge now |
Contributor
|
ok, thanks for working on this! |
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.
File completion
Suggestions will now set thedisplay_overrideandmatch_indicesfields. This means suggestions won't have backticks or quotes and will be highlighted accurately.Testing
The tests I added only test behavior for relative paths. Testing behavior with paths starting at
~or root would be doable but more complicated.Here's some screenshots manually testing that behavior (all but the last use the fuzzy matching algorithm).
File completions (

/):After selecting (note the backticks):

File completions (
~):Directory completions (

~):usecompletions (~):With prefix matching (cropped):

Release notes summary - What our users need to know
N/A, users don't need to do anything, and it's a minor visual change.
Tasks after submitting
None