formulahendry / formulahendry/vscode-code-runner

vscode-code-runner terminal issue

Open
#592 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

VSCode Info:

```
Version: 1.43.1 (system setup)
Commit: fe22a9645b44368865c0ba92e2fb881ff1afce94
Date: 2020-03-18T07:01:20.184Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
```

Code-Runner:

```
Version: 0.9.17
```

My Settings:

```
{
"workbench.startupEditor": "none",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"code-runner.saveFileBeforeRun": true,
"python.pythonPath": "C:\\Users\\AmericaN\\Desktop\\Lab\\env\\Scripts\\python",
"code-runner.showExecutionMessage": false,
"code-runner.clearPreviousOutput": true,
"terminal.integrated.copyOnSelection": true,
"workbench.panel.defaultLocation": "right",
"code-runner.executorMap": {
"python": "$pythonPath -u $fullFileName"
},
"terminal.integrated.shellArgs.windows": [
"-NoLogo"
],
"python.terminal.activateEnvInCurrentTerminal": true,
"python.jediEnabled": false,
"code-runner.runInTerminal": true
}
```

Issue:

![](https://serving.photos.photobox.com/9464303948796dcdedc9ab97bfb9c44b1e5b71fc43b0b3bbb36cfaf11aaa95c2b7b7f644.jpg)

When i run my code using ALT CTRL N. i see that the code ran not under my `venv` and that's why not detected `geckodriver` for example.

But once i repeat ALT CTRL N, i see it's detect it without issue !

How can i correct it to be usually run my code under `venv` ?

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.