Skip to content

Instantly share code, notes, and snippets.

View moses70's full-sized avatar

Reinhard Moosauer moses70

View GitHub Profile
# PowerShell parameter completion shim for the dotnet CLI
Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock {
param($commandName, $wordToComplete, $cursorPosition)
dotnet complete --position $cursorPosition "$wordToComplete" | ForEach-Object {
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
}
}
@moses70
moses70 / global.json
Created March 26, 2021 14:09
Enable .NET 6 preview SDK for solution
{
"sdk": {
"version": "6.0.100-preview"
}
}
Hallo Welt