Skip to content

Instantly share code, notes, and snippets.

@digvijaybhakuni
Created September 27, 2018 17:54
Show Gist options
  • Save digvijaybhakuni/5246ffff719d0b1990ad74a21657aee4 to your computer and use it in GitHub Desktop.
Save digvijaybhakuni/5246ffff719d0b1990ad74a21657aee4 to your computer and use it in GitHub Desktop.
Setting File for vscode to setup python environment
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: Attach",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost"
},
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"console": "integratedTerminal",
"args": [
"runserver",
"--noreload",
"--nothreading"
],
"django": true
}
]
}
{
"python.pythonPath": "<path_python_dir>",
"python.linting.pylintPath": "<path_python_dir>\pylint.exe",
"python.linting.pep8Enabled": true,
"python.linting.pylintArgs": [
"--load-plugins",
"pylint_django"
],
"python.linting.pylintEnabled": true,
"[python]": {
"editor.formatOnSave": true
},
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",
"editor.fontSize": 16
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment