Skip to content

Tab completion confusion with common parameters #1265

@lzybkr

Description

@lzybkr

Steps to reproduce

function foo { param($DebugBuild) }

  1. Receive-Job -wa<TAB>
  2. foo -D<TAB>
  3. foo -Debug<TAB>

Expected behavior

  1. Cycle through -Wait and -WarningAction
  2. Cycle through -Debug and -DebugBuild
  3. Cycle through -Debug and -DebugBuild

Actual behavior

  1. Only completes -WarningAction
  2. Only completes -DebugBuild
  3. No additional completion

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions