You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autocomplete should quote property names ending in "?" #10436
Property names ending with ? character can't be used unless the property name is quoted, but autocomplete with TAB does not quote them. (Related to discussion in #3240)
Steps to reproduce
$o= [PSCustomObject]@{
'test?'=1'test|'=2
}
PS C:\>$o.test{TAB}
# cycles through# $o.test? # this won't work without quotes around the property name# $o.'test|'
Expected behavior
PS C:\>$o.test{TAB}
# cycles through# $o.'test?' # expected, this one is quoted# $o.'test|'
Environment data
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 7.0.0-preview.1
PSEdition Core
GitCommitId 7.0.0-preview.1
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
changed the title [-]Autocomplete should quote property names ending with "?"[/-][+]Autocomplete should quote property names ending in "?"[/+]on Aug 23, 2019
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
[-]Intellisense and property names ending with "?"[/-][+]Autocomplete should quote property names ending with "?"[/+][-]Autocomplete should quote property names ending with "?"[/-][+]Autocomplete should quote property names ending in "?"[/+]iSazonov commentedon Aug 27, 2019
We should wait #3240 to make a conclusion here.
msftrncs commentedon Aug 31, 2019
I think my PR attempts to address this, #10226.
msftrncs commentedon Aug 31, 2019
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.