dotnet type lookup breaks after importing SharePointServer PowerShell module #4680
Open
3 tasks done
Labels
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
Prerequisites
Exception report
N/A
Screenshot
N/A
Environment data
Steps to reproduce
Try to autocomplete a dotnet type after importing the SharePointServer PowerShell module.
Applies both to tab completion and selection using Ctrl + Space.
[date
and then pressing Ctrl + SpaceImport-Module SharePointServer
[date
and then pressing Ctrl + SpaceExpected behavior
Autocomplete should work both before and after importing the SharePointServer module.
Actual behavior
After the module import, autocomplete is broken for dotnet objects.
More specifically the function to complete types names is broken.
Autocomplete for Cmdlets and methods of types is working, but type name is not.
Get-Mo
and pressing Ctrl + Space gives options to complete.[datetime]
and pressing Ctrl + Space gives method suggestions.[date
and pressing Ctrl + Space (or pressing just Tab) gives no results.Additonal info:
While PSReadline itself does not seem to generate a visible exception, there is some exceptions generated in VSCode with the PowerShell extension, so I'm adding it here if possibly relevant.
But the reproduction steps has been run directly in PowerShell outside of VSCode.
The text was updated successfully, but these errors were encountered: