Refactor VSCode settings for improved Python and Ansible support; enhance Ruff configuration
This commit is contained in:
39
.vscode/settings.json
vendored
39
.vscode/settings.json
vendored
@@ -1,17 +1,40 @@
|
|||||||
{
|
{
|
||||||
|
"git.autofetch": true,
|
||||||
|
"[ansible]": {
|
||||||
|
"editor.detectIndentation": true,
|
||||||
|
"editor.insertSpaces": true,
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.quickSuggestions": {
|
||||||
|
"comments": true,
|
||||||
|
"other": true,
|
||||||
|
"strings": true
|
||||||
|
},
|
||||||
|
"editor.autoIndent": "advanced"
|
||||||
|
},
|
||||||
"ansible.python.interpreterPath": "/home/will/Code/thechart/.venv/bin/python",
|
"ansible.python.interpreterPath": "/home/will/Code/thechart/.venv/bin/python",
|
||||||
|
"makefile.configureOnOpen": true,
|
||||||
|
"vs-kubernetes": {
|
||||||
|
"vs-kubernetes.crd-code-completion": "enabled",
|
||||||
|
"vscode-kubernetes.minikube-path-linux": "/home/will/.local/state/vs-kubernetes/tools/minikube/linux-amd64/minikube",
|
||||||
|
"vscode-kubernetes.helm-path-linux": "/home/will/.local/state/vs-kubernetes/tools/helm/linux-amd64/helm"
|
||||||
|
},
|
||||||
|
"docker.extension.enableComposeLanguageServer": false,
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
"editor.formatOnSave": true
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll": "explicit",
|
||||||
|
"source.organizeImports": "explicit",
|
||||||
|
"ruff.nativeServer": "always",
|
||||||
|
"ruff.format.preview": "never",
|
||||||
|
"ruff.format": "always",
|
||||||
|
"python.experiments.enabled": "never"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
"ruff.interpreter": [
|
||||||
|
"${workspaceFolder}/.venv/bin/python"
|
||||||
|
],
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"diffEditor.codeLens": true,
|
"diffEditor.codeLens": true,
|
||||||
"github.copilot.nextEditSuggestions.enabled": true,
|
"github.copilot.nextEditSuggestions.enabled": true,
|
||||||
"github.copilot.selectedCompletionModel": "",
|
"github.copilot.selectedCompletionModel": ""
|
||||||
"ruff.nativeServer": "on",
|
|
||||||
"ruff.format.preview": false,
|
|
||||||
"python.experiments.enabled": false,
|
|
||||||
"ruff.interpreter": [
|
|
||||||
"${workspaceFolder}/.venv/bin/python"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user