Add vscode settings.
This commit is contained in:
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"[python]": {
|
||||||
|
"editor.formatOnType": true,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.ruff": "explicit",
|
||||||
|
"source.organizeImports.ruff": "explicit"
|
||||||
|
},
|
||||||
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
|
"editor.formatOnPaste": true,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnSaveMode": "file",
|
||||||
|
"editor.rulers": [127]
|
||||||
|
},
|
||||||
|
"workbench.iconTheme": "vscode-icons",
|
||||||
|
"git.confirmSync": false,
|
||||||
|
"git.autofetch": true,
|
||||||
|
"terminal.integrated.fontFamily": "MesloLGS NF",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"files.autoSave": "onWindowChange",
|
||||||
|
"eslint.format.enable": true,
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"redhat.telemetry.enabled": false,
|
||||||
|
"vsicons.dontShowNewVersionMessage": true,
|
||||||
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||||
|
"[html]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[yaml]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"prettier.tabWidth": 2
|
||||||
|
},
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "vscode.json-language-features"
|
||||||
|
},
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[css]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"prettier.bracketSameLine": true,
|
||||||
|
"formatFiles.runOrganizeImports": true,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.organizeImports": "explicit"
|
||||||
|
},
|
||||||
|
"java.configuration.runtimes": [],
|
||||||
|
"editor.formatOnSaveMode": "modificationsIfAvailable",
|
||||||
|
"editor.formatOnPaste": true,
|
||||||
|
"terminal.integrated.defaultProfile.windows": "Ubuntu-22.04 (WSL)",
|
||||||
|
"prettier.tabWidth": 4,
|
||||||
|
"notebook.formatOnSave.enabled": true,
|
||||||
|
"notebook.codeActionsOnSave": {
|
||||||
|
"source.fixAll.ruff": true,
|
||||||
|
"source.organizeImports.ruff": true
|
||||||
|
},
|
||||||
|
"python.analysis.autoImportCompletions": true,
|
||||||
|
"python.analysis.autoFormatStrings": true,
|
||||||
|
"python.analysis.completeFunctionParens": true,
|
||||||
|
"python.analysis.inlayHints.callArgumentNames": "all",
|
||||||
|
"python.analysis.inlayHints.functionReturnTypes": true,
|
||||||
|
"python.analysis.inlayHints.pytestParameters": true,
|
||||||
|
"python.analysis.inlayHints.variableTypes": true,
|
||||||
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
|
"python.testing.pytestEnabled": true,
|
||||||
|
"gitlens.keymap": "none",
|
||||||
|
"remote.autoForwardPortsSource": "hybrid",
|
||||||
|
"window.zoomLevel": -1,
|
||||||
|
"files.insertFinalNewline": true,
|
||||||
|
"java.project.importOnFirstTimeStartup": "disabled",
|
||||||
|
"[markdown]": {
|
||||||
|
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
|
||||||
|
"editor.rulers": [80],
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnPaste": true
|
||||||
|
},
|
||||||
|
"editor.rulers": [120],
|
||||||
|
"http.proxyStrictSSL": false,
|
||||||
|
"security.allowedUNCHosts": ["wsl.localhost"],
|
||||||
|
"[java]": {
|
||||||
|
"editor.defaultFormatter": "redhat.java"
|
||||||
|
},
|
||||||
|
"java.settings.url": "~/.vscode/settings.prefs",
|
||||||
|
"markdownlint.config": {
|
||||||
|
"MD013": true
|
||||||
|
},
|
||||||
|
"powershell.powerShellAdditionalExePaths": {
|
||||||
|
"powershell": "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\""
|
||||||
|
},
|
||||||
|
"kotlin.languageServer.enabled": false,
|
||||||
|
"kotlin.debugAdapter.enabled": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user