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

Bring back shell autocompletions #120

Open
ranyitz opened this issue Mar 6, 2023 · 1 comment
Open

Bring back shell autocompletions #120

ranyitz opened this issue Mar 6, 2023 · 1 comment

Comments

@ranyitz
Copy link
Owner

ranyitz commented Mar 6, 2023

The most frequent workflow for me, is to either retrieve a package version that I already retrieved in the past (When working on a specific problem/package) and of course trying to get a version of a package from within the repo.

Shell autocompletions are perfect for that use-case.

  1. We'll show the user autocompletions based on the list of modules exists in the node_modules.
  2. We can save the last "qnm queries" and sort them to be first.
  3. We can use levenshtein distance to still give good completions even if there are typos.
@ranyitz
Copy link
Owner Author

ranyitz commented Mar 6, 2023

We can save only successful queries to the cache so mistakes won't be saved

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

No branches or pull requests

1 participant