Skip to content

Property assignments should get the same completions as variables #18885

@MartinGC94

Description

@MartinGC94

Summary of the new feature / enhancement

Variables that are declared with an enum type gets tab completion for the possible values as seen here: TabExpansion2 '[System.Management.Automation.ProgressView]$Test =' | select -ExpandProperty CompletionMatches
This feature is missing for property assignments: TabExpansion2 '$PSStyle.Progress.View=' | select -ExpandProperty CompletionMatches.

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Interactive-IntelliSensetab completion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions