Skip to content

PowerShell completion reports When parameter for Document keyword #175

@BernieWhite

Description

@BernieWhite

Description of the issue

Completion reports -When is valid for the Document keyword. This is incorrect and should be -With instead.

This is only an issue for command completion within VSCode. This doesn't affect execution which correctly uses -With.

Expected behaviour

Update parameters for document keyword.

Module in use and version:

  • Module: PSDocs
  • Version: 0.9.0-B2107010

Captured output from $PSVersionTable:

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19043
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

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions