-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fix .NET 10 CLI auto-completion command from 'generate' to 'script' #50050
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
Conversation
Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR corrects the .NET 10 CLI auto-completion command syntax from dotnet completions generate [SHELL] to dotnet completions script [SHELL] to match the shipping product. The changes ensure consistency across documentation and standardize PowerShell cmdlet casing.
- Updated command syntax from
generatetoscriptacross all documentation - Standardized PowerShell cmdlet casing to
Out-String(proper PascalCase) - Removed unnecessary
-ErrorAction SilentlyContinueparameter for consistency
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/core/tools/enable-tab-autocomplete.md | Updated 7 command examples across all shell types (PowerShell, Bash, Zsh, Fish, Nushell) to use correct script subcommand |
| docs/core/whats-new/dotnet-10/sdk.md | Updated command reference and PowerShell example, standardized Out-String casing |
BillWagner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Let's ![]()
Summary
The .NET 10 CLI uses
dotnet completions script [SHELL]but documentation incorrectly showeddotnet completions generate [SHELL].Changed command syntax in:
docs/core/tools/enable-tab-autocomplete.md- Updated 7 instances across all shell examples (PowerShell, Bash, Zsh, Fish, Nushell)docs/core/whats-new/dotnet-10/sdk.md- Updated command reference and standardized PowerShell casing (Out-String)Before:
dotnet completions generate [SHELL]After:
dotnet completions script [SHELL]Fixes #Issue_Number (if available)
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews