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

[cli]: Support auto-complete on functions and tables #3383

Open
prrao87 opened this issue Apr 25, 2024 · 0 comments
Open

[cli]: Support auto-complete on functions and tables #3383

prrao87 opened this issue Apr 25, 2024 · 0 comments
Labels
cli feature New features or missing components of existing features usability Issues related to better usability experience, including bad error messages

Comments

@prrao87
Copy link
Member

prrao87 commented Apr 25, 2024

Currently, the CLI only supports auto-complete on keywords like LOAD and ATTACH. This is great, but as we are adding more and more functionality (esp. to the extension framework), it would greatly improve usability if we could add auto-complete to function names and table names, too.

Benefits

  • User doesn't need to remember the names/spellings of existing function names (for e.g., the show_attached_databases() function in the database extensions, which is rather long to type and not immediately obvious)
  • User doesn't need to remember table names within databases (esp. in large Postgres/DuckDB databases they connect to externally) - because we store the Postgres/DuckDB table schemas in the cache this should be accessible from the CLI
  • Better overall DevEx in the CLI, due to fewer overall keystrokes when typing
@prrao87 prrao87 added feature New features or missing components of existing features usability Issues related to better usability experience, including bad error messages cli labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature New features or missing components of existing features usability Issues related to better usability experience, including bad error messages
Projects
None yet
Development

No branches or pull requests

1 participant