-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Interactive-IntelliSensetab completiontab completion
Description
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
vexx32
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Interactive-IntelliSensetab completiontab completion