Almenon / Almenon/AREPL-vscode

Error: Cannot read properties of undefined

Open
#447 0 comments 0 reactions 0 assignees View on GitHub
bug has-workaround macOS
Dominant language
TypeScript
Stars
301
Forks
46
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.