Created
September 27, 2018 17:54
-
-
Save digvijaybhakuni/5246ffff719d0b1990ad74a21657aee4 to your computer and use it in GitHub Desktop.
Setting File for vscode to setup python environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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 | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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