Skip to content

Set-PSReadLineOption : A parameter cannot be found that matches parameter name 'PredictionSource' #2189

@DBremen

Description

@DBremen

Environment

PS version: 5.1.19041.610
PSReadline version: 2.2.0-beta1
os: 10.0.19041.1 (WinBuild.160101.0800)
PS file version: 10.0.19041.1 (WinBuild.160101.0800)
HostName: ConsoleHost
BufferWidth: 190
BufferHeight: 5000

Exception report

Set-PSReadLineOption : A parameter cannot be found that matches parameter name 'PredictionSource'.

Steps to reproduce

In PowerShell 5.1 with PSReadline 2.2.0-beta1
Attempt to set 'PredictionSource' setting

Expected behavior

PredictionSource aka predictive IntelliSense should be available in 2.2.0-beta1 with PowerShell 5.1.

Actual behavior

Error message as described in title.
I feel, that I'm missing something obvious, but I can't get it to work. In PowerShell 7 on the same machine, it does work just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions