Skip to content

Error: Cannot read properties of undefined #447

@Almenon

Description

@Almenon

Describe the bug
On a mac in a python file when I press control+enter I get a error popup "Cannot read properties of undefined" and the default behavior (create a new line below and move cursor to that line) does not happen

https://stackoverflow.com/questions/69409737/vs-code-error-command-extension-executeareplblock-not-found-using-mac

I could fix the issue by checking if PythonEvaluator exists in runAreplBlock(), but even if I fixed it the default behavior would still be overridden. I suppose I should change the keybinding... but to what? cmd+enter is very convenient. Best path forward is probably check about adding additional context for firing the event.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions