Skip to content

Conversation

@seltzered
Copy link

I've been testing vscode-markdown-code-runner in other environments such as Eclipse Theia, and noticed it can sometimes not work and generate an error along the lines of "'workbench.action.terminal.clear' is not registered", which ends up making the 'code run' not happen.

This workaround wraps the line in a try/catch block so the code run will still happens in case workbench.action.terminal.clear can't be executed.

It can sometimes not work in some environments (e.g. Eclipse Theia),
but that shouldn't make 'code run' not happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant