Add VSCode config

This commit is contained in:
Scott Wallace 2023-05-22 12:57:56 +01:00
parent 8ad0e38780
commit 4bd3f024be
Signed by: scott
GPG key ID: AA742FDC5AFE2A72
3 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,15 @@
// Empty
[
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines"
},
{
"key": "alt+f",
"command": "extension.quote-flipper"
}
]

View file

@ -0,0 +1,89 @@
{
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[terraform-vars]": {
"editor.defaultFormatter": "hashicorp.terraform",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
},
"autoDocstring.startOnNewLine": true,
"diffEditor.renderSideBySide": false,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnSave": true,
"editor.renderControlCharacters": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
"**/.git/**": true,
"**/.mypy_cache/**": true,
"**/.pyenv/**": true,
"**/__pycache__/**": true
},
"git.alwaysShowStagedChangesResourceGroup": true,
"git.autoStash": true,
"git.autofetch": true,
"git.confirmSync": false,
"git.enableCommitSigning": true,
"git.ignoreRebaseWarning": true,
"git.suggestSmartCommit": false,
"html.format.indentInnerHtml": true,
"html.format.templating": true,
"python.diagnostics.sourceMapsEnabled": true,
"python.experiments.enabled": false,
"python.linting.enabled": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.testing.unittestArgs": ["-v", "-s", ".", "-p", "test_*.py"],
"python.testing.unittestEnabled": true,
"redhat.telemetry.enabled": false,
"simple-perl.perltidyArgs": ["-l=140", "-gnu", "-ci=4"],
"svg.preview.mode": "svg",
"vsicons.dontShowNewVersionMessage": true,
"window.newWindowDimensions": "inherit",
"workbench.colorTheme": "Solarized Dark",
"workbench.editor.historyBasedLanguageDetection": true,
"workbench.enableExperiments": false,
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "none",
"python.analysis.completeFunctionParens": true,
"python.analysis.diagnosticMode": "workspace",
"json.maxItemsComputed": 500000,
"editor.foldingMaximumRegions": 50000,
"python.analysis.typeCheckingMode": "basic",
"indentRainbow.tabmixColor": "rgba(128,32,96,0.2)",
"scm.diffDecorationsGutterAction": "none",
"diffEditor.codeLens": true,
"git.openDiffOnClick": false,
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"python.linting.maxNumberOfProblems": 20,
"python.linting.pylintCategorySeverity.convention": "Warning",
"python.linting.mypyCategorySeverity.note": "Warning",
"python.linting.pylintCategorySeverity.refactor": "Warning",
"[jinja-html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"pylint.severity": {
"refactor": "Information"
},
"files.autoSaveDelay": 2000,
"files.autoSave": "afterDelay",
"css.format.enable": false,
"python.analysis.autoImportCompletions": true,
"python.analysis.stubPath": "",
"mypy.enabled": false,
"python.analysis.enablePytestSupport": false
}

View file

@ -0,0 +1,6 @@
{
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
}