Can you please advise how / or add the feature to incorporate the ${env:CONDA_DEFAULT_ENV} variable so when selecting the environment from vscode for python the runner will open the correct python version.
Do you select the path by Python: Select Interpreter
? If yes, you could use below setting:
"code-runner.executorMap": {
"python":"$pythonPath $fullFileName",
}
I think it would be a great feature if the code-runner would recognize the environment automatically which is set in vscode.
I agree. Being able to read the .env
would be great.
Please implement :)
Hi, can i use $selecetedText in code-runner.executorMap!
It seems that it is acknowledged as empty!
Any way to solve this?
Most helpful comment
Do you select the path by
Python: Select Interpreter
? If yes, you could use below setting: