How to set the development environment for each project with VSCode + Python extension + Miniconda
Purpose
- I want to switch the Python environment such as auto-completion for each project
environment
- Windows 10
- VisualStudio Code
- Extension
Method
- Place ** settings.json ** under **. vscode ** of the project.
- Write a configuration file similar to [User Preferences].
settings.json
{
"python.pythonPath": "C:/Users/{user}/Miniconda3/envs/spam/python"
}
Remarks
- Overriding [User Settings]