Last active
May 17, 2024 00:20
-
-
Save kerbrose/e63d108e5a2cc30de80186e9b1109725 to your computer and use it in GitHub Desktop.
vscode useful setting.json
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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": ".." | |
}, | |
{ | |
"path": "../../odoo_16" | |
}, | |
{ | |
"path": "../../enterprise_16" | |
} | |
], | |
"settings": { | |
"workbench.colorTheme": "Quiet Light", | |
"window.zoomLevel": 0, | |
"terminal.integrated.fontSize": 13, | |
"terminal.integrated.smoothScrolling": true, | |
"python.languageServer": "Pylance", | |
"python.defaultInterpreterPath": "/home/k/.pyenv/versions/16_kisa/bin/python", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/__pycache__": true, | |
"**/*.pyc": true | |
}, | |
"[python]": { | |
"editor.defaultFormatter": "charliermarsh.ruff", | |
"editor.codeActionsOnSave": { | |
// "source.fixAll": "explicit", | |
// "source.organizeImports": "explicit" | |
}, | |
}, | |
"liveServer.settings.multiRootWorkspaceName": "gissah-ksa", | |
"terminal.integrated.scrollback": 20000, | |
"autopep8.args": ["--max-line-length", "90", "--experimental"], | |
"flake8.args": ["--max-line-length=90"], | |
// "ruff.format.args": [], | |
"ruff.lint.args": [ | |
"--config=/mnt/disk2/kit/gissah-ksa/.vscode/ruff_settings.toml",] | |
} | |
} |
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": "Start Odoo 16", | |
"type": "debugpy", | |
"request": "launch", | |
"program": "${workspaceRoot}/../odoo_16/odoo-bin", | |
"args": [ | |
"--config", | |
"${workspaceRoot}/.config/odoo.conf", | |
"--db-filter", | |
"^16.*", | |
"--update", | |
"website_customer_feedback", | |
// "--test-enable", | |
// "--init", | |
// "l10n_sa_edi", | |
// "--stop-after-init", | |
// "--database", | |
// "16_unittests" | |
// "--save" | |
], | |
"justMyCode": false | |
}, | |
{ | |
"name": "Javascript Debugger", | |
"request": "launch", | |
"type": "chrome", | |
"url": "http://localhost:8069/web?debug=assets", | |
"webRoot": "${workspaceFolder}", | |
"sourceMaps": true, | |
"sourceMapPathOverrides": { | |
"*": "${workspaceFolder}/*" | |
} | |
}, | |
] | |
} |
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
{ | |
"editor.rulers": [ | |
90 | |
], | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/__pycache__": true, | |
"**/*.pyc": true | |
}, | |
"workbench.colorTheme": "Quiet Light", | |
"window.zoomLevel": 0, | |
"terminal.integrated.rendererType": "dom", | |
"editor.renderLineHighlight": "none", | |
"terminal.integrated.fontSize": 13, | |
// "terminal.integrated.fontFamily": "'MesloLGS NF'", | |
"editor.fontFamily": "'Fira Code','Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"terminal.integrated.smoothScrolling": true, | |
"javascript.format.semicolons": "insert", | |
"python.pythonPath": "/home/k/.pyenv/versions/3.8.10/envs/emitac/bin/python", | |
"python.defaultInterpreterPath": "/home/k/.pyenv/versions/emitac/bin/python", | |
"python.terminal.activateEnvironment": true, | |
"python.autoComplete.extraPaths": [ | |
"${workspaceFolder}../../odoo/odoo_14/odoo", | |
"${workspaceFolder}../../odoo/odoo_14/odoo/addons", | |
"${workspaceFolder../../odoo/enterprise_14/", | |
"${workspaceFolder}/", | |
], | |
"python.linting.pylintArgs": [ | |
"--load-plugins", "pylint_odoo", | |
//"--rcfile", "" | |
"--init-hook", "import sys; sys.path += ('${workspaceFolder}/odoo/odoo','${workspaceFolder}/odoo/odoo/addons', '${workspaceFolder}/odoo/addons')" | |
], | |
"python.linting.pycodestyleEnabled": true, | |
"python.linting.flake8Enabled": true, | |
"[python]": { | |
"editor.formatOnSave": false, | |
"editor.formatOnPaste": false | |
}, | |
"python.linting.flake8Args": [ | |
"--max-line-length=90" | |
], | |
"python.formatting.autopep8Args": [ | |
"--max-line-length", "90", | |
], | |
"python.linting.pycodestyleArgs": [ | |
"--max-line-length=90", | |
], | |
"python.formatting.provider": "autopep8", | |
"python.analysis.extraPaths": [ | |
"${workspaceFolder}../../odoo/odoo_14", | |
"${workspaceFolder}../../odoo/odoo_14/odoo", | |
"${workspaceFolder}../../odoo/odoo_14/odoo/addons", | |
"${workspaceFolder}../../odoo/odoo_14/addons", | |
"${workspaceFolder../../odoo/enterprise_14/", | |
], | |
"xml.format.splitAttributesIndentSize": 2, | |
"[xml]": { | |
"editor.tabSize": 2, | |
"editor.autoClosingBrackets": "always", | |
"files.trimFinalNewlines": true, | |
"editor.detectIndentation": false, | |
}, | |
"editor.detectIndentation": false, | |
"prettier.tabWidth": 4, | |
"redhat.telemetry.enabled": false, | |
"[markdown]": { | |
"editor.wordBasedSuggestions": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment