Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for file/folder terminal completions #234289

Merged
merged 27 commits into from
Nov 21, 2024
Merged

add support for file/folder terminal completions #234289

merged 27 commits into from
Nov 21, 2024

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Nov 20, 2024

Also adds support for any of the completion spec / options / arg names and refactors the spec completion evaluation into a function that should make it easy to add tests for.

to do / defer:

  • add tests

@meganrogge meganrogge self-assigned this Nov 20, 2024
@meganrogge meganrogge marked this pull request as draft November 20, 2024 18:31
@meganrogge meganrogge added this to the November 2024 milestone Nov 20, 2024
@meganrogge meganrogge marked this pull request as ready for review November 20, 2024 18:49
meganrogge and others added 3 commits November 20, 2024 15:37
…nalCompletionService.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
@meganrogge meganrogge enabled auto-merge (squash) November 20, 2024 21:50
@meganrogge meganrogge enabled auto-merge (squash) November 20, 2024 22:38
@meganrogge meganrogge enabled auto-merge (squash) November 20, 2024 22:57
@meganrogge meganrogge merged commit d79858c into main Nov 21, 2024
8 checks passed
@meganrogge meganrogge deleted the merogge/folder branch November 21, 2024 01:35
Comment on lines +23 to +24
// fixes a bug with file/folder completions brought about by the '.' command
const filter = (cmd: string) => cmd && cmd !== '.';
Copy link
Member

Choose a reason for hiding this comment

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

We do want ., I didn't test but assume it's not working based on this. Tracked in #234351

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.

3 participants