Skip to content

Conversation

@Kissaki
Copy link
Contributor

@Kissaki Kissaki commented Nov 16, 2025

.NET 10 introduces dotnet completions script nushell.

I took the opportunity to try and update the dotnet completions, to test if it works and what works, but ultimately concluded that it's incomplete/unusable as is.

I updated the README.md with my findings.

I assume dotnet complete is currently missing and will be extended with dotnet completions completions eventually.

.NET 10 introduces `dotnet completions script nushell`.

I took the opportunity to try and update the dotnet completions, to test if it works and what works, but ultimately concluded that it's incomplete/unusable as is.

I updated the README.md with my findings.

I assume `dotnet complete` is currently missing and will be extended with `dotnet completions` completions eventually.

I'm not sure whether the current extern export is preferable over an external completer configuration, but it seems plausibly preferable to me, because it doesn't mix with other external completer configurations and is used earlier in the completion chain before falling back to external completers. If that is the case, the dotnet command generates suboptimal completion configuration.
## .NET SDK 10 and `dotnet completions`

From the .NET SDK version 10 onwards, the `dotnet` CLI offers `dotnet completions script nushell` which generaltes a Nushell external completer configuration,
but in an outdated format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. end line in comma then start the last part of a sentence on a new line?
  2. the last line isn't what i'd call helpful. the original syntax just needs to be figured out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markdown won't render the newline.

the original syntax just needs to be figured out

I don't get what you mean

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm saying what was previously there would probably work if it were updated to $env.config

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I had there previously is the output from dotnet. Changing the code would defeat the purpose of showing what dotnet prints out.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having non-working code in the help is also defeating the purpose. We need a PR to the dotnet repo too to fix their incorrect AI.

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

Successfully merging this pull request may close these issues.

2 participants