formulahendry / formulahendry/vscode-code-runner

Crashes when: Run selected code snippet in Text Editor

Open
#444 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.32.1
- OS Version: Windows 10 Pro, version 1803
- Code Runner Version: 0.9.7

**Describe the bug**
Code runner crashes and has to be restarted when attempting to run selected code. This does not happen when running the whole file, only a selection of code
**To Reproduce**
Steps to reproduce the behavior:

1. console.log('numbers')
2. select text and then select "Run Code"

**Actual behavior**
vscode popup: Extension Host terminated unexpectedly.

**Expected behavior**
the text "numbers" to show in output

**Screenshots**
If applicable, add screenshots to help explain your problem.
![crunner](https://user-images.githubusercontent.com/24580002/54055199-e647e900-41b1-11e9-8064-2a308ed0c7ef.png)

![crunner1](https://user-images.githubusercontent.com/24580002/54054887-10e57200-41b1-11e9-8736-ca4a18f2449e.PNG)

![crunner2](https://user-images.githubusercontent.com/24580002/54054892-1478f900-41b1-11e9-8c3a-fc7aa7dd2f0f.PNG)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.