Skip to content

Loading profile in Visual Studio Code PowerShell Extension leads to errors in custom key handler #5501

@Akaizoku

Description

@Akaizoku

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

All commands generate the following error:

An exception occurred in custom key handler, see $error for more information: Object reference not set to an instance of an object.

This has been reported multiple times before but all issues have been closed due to inactivity:

  1. Loading profile in VsCode PowerShell Extension leads to error in custom key handler #2910
  2. An exception occurred in custom key handler. | Transient Prompt issue #4710

Theme

Default

What OS are you seeing the problem on?

  • Windows 11
  • Visual Studio Code 1.92.2

Which shell are you using?

PowerShell for Visual Studio Code 2024.2.2

Log output

An exception occurred in custom key handler, see $error for more information: Object reference not set to an instance of an object.

Metadata

Metadata

Labels

🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions