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

Clarification: Completion #2

Open
calvin-cdev opened this issue Jan 4, 2022 · 2 comments
Open

Clarification: Completion #2

calvin-cdev opened this issue Jan 4, 2022 · 2 comments

Comments

@calvin-cdev
Copy link

hi! thanks for making this package and script 😄

I have a question. Is this intended only to list the available scripts and not to auto complete a script?

For example, let's say i have these scripts in a package.json

{
  start:dev
  start:prod
}

If i type yarn and then tab, I'll see start:dev start:prod
But if i try to use tab to auto complete the script like yarn start:d then tab, I get yarn start:start:

@ChromeQ
Copy link

ChromeQ commented Aug 8, 2024

I also find this slightly annoying bug but the script seems to only list the scripts under the package.json, doesn't seem to take the current input into account.

Did you ever find a solution to this @calvin-cdev ?

This was referenced Aug 8, 2024
@calvin-cdev
Copy link
Author

I also find this slightly annoying bug but the script seems to only list the scripts under the package.json, doesn't seem to take the current input into account.

Did you ever find a solution to this @calvin-cdev ?

I ended up using a different auto-completion tool. I can't remember what it was though since I've been on pnpm for a while now.

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

2 participants