-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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 aWG-Interactive-IntelliSensetab completiontab completion
Description
Steps to reproduce
Open up Powershell (with PSReadline), VS code (with Powershell extension) or even just the ISE and type in the following:
#2 suggestions pop up for the parameters "Options" and "ErrorMessage".
[ValidatePattern(<CTRL+Space>)]$StringToCheck
#No options show up
[ValidatePattern("\w",<CTRL+Space>)]$StringToCheck
#You can still tab complete the parameters.
[ValidatePattern("\w",O<Tab>)]$StringToCheckThis happens with any attribute.
Expected behavior
Intellisense shows suggestions for attribute parameters, even after adding the first parameter.
Actual behavior
Intellisense only shows suggestions for the first parameter you add.
Environment data
Name Value
---- -----
PSVersion 7.1.0-preview.3
PSEdition Core
GitCommitId 7.1.0-preview.3
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
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 aWG-Interactive-IntelliSensetab completiontab completion