-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${config:python.interpreterPath} cannot be used in settings.json or task.json #11789
Comments
@karrtikr: Below is my prelaunch task for one of my task.json: {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Prepare env",
"type": "shell",
"command": "${config:python.pythonPath}",
//"command": "${config:python.interpreterPath}",
"args": [
"${workspaceFolder}/prepare_env.py",
],
},
} |
Should be resolved in the next release. Use |
You get the following error:
This is need to completely replace
${config:python.pythonPath}
.https://code.visualstudio.com/docs/editor/tasks#_variable-substitution
The text was updated successfully, but these errors were encountered: