Skip to content
Snippets Groups Projects
Commit f0d969b4 authored by William Di Luigi's avatar William Di Luigi
Browse files

Update vscode-specific settings

Add one recommended extension, and specify auto-formatters
parent b77c87b4
Branches
No related tags found
No related merge requests found
{
"recommendations": [
// Auto-format Python code with Ruff linter
"charliermarsh.ruff",
// To apply settings from .editorconfig file
"editorconfig.editorconfig",
// Python intellisense support
"ms-python.python",
"ms-python.vscode-pylance"
// Python language server and type checker
"ms-python.vscode-pylance",
]
}
{
"python.analysis.typeCheckingMode": "basic"
"python.analysis.typeCheckingMode": "basic",
"files.insertFinalNewline": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features",
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features",
},
"[html]": {
// Doesn't work properly with template files, for example with things
// like {{ url("page") }} becoming {{ url(" page") }}
"editor.formatOnSave": false,
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment