Skip to content

feat(prompts): add tab-completion to path prompt - #594

Merged
dreyfus92 merged 1 commit into
mainfrom
improve-path-selection
Aug 15, 2026
Merged

feat(prompts): add tab-completion to path prompt#594
dreyfus92 merged 1 commit into
mainfrom
improve-path-selection

Conversation

@dreyfus92

Copy link
Copy Markdown
Member

What does this PR do?

this implements pressing tab in the path prompt now fills the input with the focused suggestion. Typing / and tab again descends into directories, making deep paths quick to select.

possible follow-ups: add fuzzy/recursive matching below the root, and appending a trailing / when completing a directory.

related: #564

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 218d709

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
NameType
@clack/promptsMinor
@clack/coreMinor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

Copy link
Copy Markdown

commit: 218d709

@43081j43081j left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good! nice work 🎉

@dreyfus92
dreyfus92 merged commit 37fca4e into mainAug 15, 2026
11 checks passed
@dreyfus92
dreyfus92 deleted the improve-path-selection branch August 15, 2026 15:58
@bombshell-botbombshell-botBot mentioned this pull request Aug 15, 2026
Sign up for freeto 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.

2 participants

@dreyfus92@43081j