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

Tab completion for file paths #1372

Open
1 task done
MichaelRPaquette opened this issue Feb 25, 2025 · 0 comments
Open
1 task done

Tab completion for file paths #1372

MichaelRPaquette opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@MichaelRPaquette
Copy link

Feature Enhancement Request: File Path Autocompletion for Goose Prompts

Please explain the motivation behind the feature request.
When using Goose prompts that require referencing a file, users currently have to manually type out the full file path. This can be tedious, especially for deeply nested files or long filenames. Adding autocompletion for file paths would streamline the process, reducing the chance of typos and making it quicker to reference files for Goose to read and provide context.

Describe the solution you'd like
I propose enabling tab-completion for file paths within Goose prompts, so that users can:

  • Start typing a file path and press Tab to autocomplete it.
  • See suggestions for matching files and directories in the current working directory.
  • Seamlessly insert the fully qualified path without needing to manually type it out.

The goal is to improve efficiency when referencing files for Goose to process, without requiring users to navigate directories interactively—just provide a quick way to complete paths inline.

Describe alternatives you've considered

  • Manually copying and pasting file paths from a file explorer or terminal, which is slower and prone to errors.

  • Using a shell command (ls or find) to get the file path and then pasting it, which adds extra steps.

  • Implementing custom shell aliases or scripts, but this requires user-specific setup rather than being a built-in feature.

  • I have verified this does not duplicate an existing feature request

@MichaelRPaquette MichaelRPaquette added the enhancement New feature or request label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant