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

changeset-bot Bot commented Aug 12, 2026

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
Name Type
@clack/prompts Minor
@clack/core Minor

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

pkg-pr-new Bot commented Aug 12, 2026

Copy link
Copy Markdown

commit: 218d709

@43081j 43081j 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 main Aug 15, 2026
11 checks passed
@dreyfus92
dreyfus92 deleted the improve-path-selection branch August 15, 2026 15:58
@bombshell-bot bombshell-bot Bot mentioned this pull request Aug 15, 2026
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.

2 participants