Skip to content

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

Open
dreyfus92 wants to merge 1 commit into
mainfrom
improve-path-selection
Open

feat(prompts): add tab-completion to path prompt#594
dreyfus92 wants to merge 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

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