formulahendry / formulahendry/vscode-code-runner

[Bug] When I run sep= in VS Code I keep getting Syntax error

Open
#922 0 comments 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.64.2 (Universal)
- OS Version: Darwin x64 21.3.0
- Code Runner Version: v0.11.7

**Describe the bug**
Everything I try running code with the sep=' ' parameter at the end of a string, It will give me an error saying: SyntaxError: invalid syntax

**To Reproduce**
1. type out code i.e. print("ABC", "DEF", "XYZ", sep='1')
2. try running code and then in the code runner it says:
print("ABC", "DEF", "XYZ", sep=1)
^
SyntaxError: invalid syntax

and the ^ points at the = sign (wont format right in this issue)

**Expected behavior**
Just trying to get it to show in code runner in VS Code like it would run normally in terminal.

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.