# .vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "odoo",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${config:python.pythonPath}",
"program": "${workspaceRoot}/odoo-bin",
"cwd": "${workspaceRoot}",
"env": {},
"envFile": "${workspaceRoot}/.env",
"args": [
"-c",
"${workspaceRoot}/debian/odoo.conf"
],
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
}
],
"compounds": []
}
.Vscode # / settings.json
{
// this use, it is automatically / extension to define the python
"python.autoComplete.extraPaths": [
"$ {} workspaceRoot / odoo / addons",
"$ {} workspaceRoot / odoo ",],
" python.linting.pylintPath ":" pylint ", // optional: If you have an environment path, the path of using Python"
"python.linting.enabled": to true,
// load pylint_odoo
"Python .linting.pylintArgs ": [" --load-plugins "," pylint_odoo "],
" python.formatting.provider ":" yapf ", // a whitening key code format
//"python.formatting.yapfPath": " optional: If you have environmental path, using Python's path ",
//"python.linting.pycodestylePath": "optional: If you have an environment path, the path of using Python",
"python.linting.pycodestyleEnabled ": to true,
// add the auto-save option to pylint will play an error while editingpycodestyleEnabled ": to true,
// it will only show the saved file errors
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 500,
// will hide the compiled file in the editor / add other files to be edited from on the hidden
"files.exclude": {
. "** / * the pyc": to true
},
"python.pythonPath": "C: \\ 20693 the Users \\ \\ \\ AppData the Local the Python \\ \\ Programs \ \ Python35 \\ python.exe "
}