Pasting in the following three lines causes the third line to insert the first tab completed file name (for me, it's .berkshelf):
function Get-Foo {
$defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet('DefaultDisplayPropertySet',[string[]]$defaultProperties)
$PSStandardMembers = [System.Management.Automation.PSMemberInfo[]]@($defaultDisplayPropertySet)
Please note, that there are one tab characters preceding the second and third lines.
Pasting in the following three lines causes the third line to insert the first tab completed file name (for me, it's .berkshelf):
function Get-Foo {
$defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet('DefaultDisplayPropertySet',[string[]]$defaultProperties)
$PSStandardMembers = [System.Management.Automation.PSMemberInfo[]]@($defaultDisplayPropertySet)
Please note, that there are one tab characters preceding the second and third lines.