Skip to content

Commit

Permalink
update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
neggles committed Mar 18, 2024
1 parent 6ef04e8 commit 8d16382
Showing 1 changed file with 59 additions and 46 deletions.
105 changes: 59 additions & 46 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,67 @@
{
"editor.insertSpaces": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.tabSize": 4,
"files.trimTrailingWhitespace": true,
"editor.rulers": [100, 120],

"python.analysis.diagnosticMode": "openFilesOnly",
"python.linting.enabled": false,
"python.analysis.extraPaths": [
"./stable-diffusion-webui/",
"./stable-diffusion-webui/repositories/",
"./misc/stable-diffusion-webui/",
"./misc/stable-diffusion-webui/repositories/"
],
"files.associations": {
"*.yaml": "yaml"
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.ruff_cache": true,
"**/__pycache__": true,
"**/*.egg-info": true
},

"[shellscript]": {
"files.eol": "\n",
"editor.tabSize": 4,
"editor.detectIndentation": false
},
"[shellscript]": {
"files.eol": "\n",
"editor.tabSize": 4,
"editor.detectIndentation": false
},

"[python]": {
"editor.tabSize": 4,
"editor.detectIndentation": false
},
"[python]": {
"editor.wordBasedSuggestions": "off",
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
},
"python.analysis.include": ["./src", "./scripts", "./tests"],

"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.tabSize": 2
},

"[yaml]": {
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"diffEditor.ignoreTrimWhitespace": false
},
"[yaml]": {
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"diffEditor.ignoreTrimWhitespace": false
},

"[hcl]": {
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "fredwangwang.vscode-hcl-format"
}
"[hcl]": {
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "fredwangwang.vscode-hcl-format"
}
}

0 comments on commit 8d16382

Please sign in to comment.