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

Enable tab completion for bundled commands like dotnet-watch and dotnet-user-secrets #9105

Closed
natemcmaster opened this issue Feb 22, 2018 · 4 comments
Labels
Milestone

Comments

@natemcmaster
Copy link
Contributor

Follow-up to dotnet/cli#8665 and dotnet/cli#8606

It would be nice to enable tab completion for the following commands that are available as bundled tools

  • dotnet watch
  • dotnet dev-certs
  • dotnet sql-cache
  • dotnet user-secrets
@livarcocc
Copy link
Contributor

That's would be nice indeed. Tab completion that shells out to a dotnet-complete command implemented by the CLI, which then, I believe, invokes the parser suggestions.

If you adhere to the same APIs (I would suggest using the CLICommandLineParser) for that, it should just work.

cc @jonsequitur who implemented both the parser and completion to comment.

Jon, these are commands that are shipped in the CLI but are not implemented by the CLI. We would like to have completion for them. Did what I said above make sense?

@wli3
Copy link

wli3 commented Feb 23, 2018

I believe dotnet-complete requires command "registered" in the parser. Which dotnet watch is not. We could either add it to the parser (which i don't like, that will add more burden to insertion), or we could extend dotnet-complete outside parser. And add resolver's command into it.

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the Backlog milestone Jan 31, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label Apr 25, 2024
Copy link
Contributor

This issue will now be closed since it has been labeled 'stale' without activity for 30 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants