-
Notifications
You must be signed in to change notification settings - Fork 0
VSCode Python
Kamal Mustafa edited this page Sep 24, 2017
·
3 revisions
Open workspace by opening the project folder, not file in that folder. This way, the workspace settings will be applied. Use Command Pallete "Open Workspace Settings" to change the settings. The settings is in:-
.vscode/settings.json
Using relative path in the settings:-
{
"workbench.colorTheme": "Visual Studio Dark",
"python.pythonPath": "${workspaceRoot}/.venv/bin/python3"
}
export PIPENV_VENV_IN_PROJECT=1
pipenv --three # create python 3 virtualenv in .venv of current dir
Join our Telegram channel t.me/devkini or follow twitter.com/devkini for latest updates in software development.