From a380a5b3276b7d5f98b23500d1165d016644c309 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 1 Aug 2022 09:47:42 +0200 Subject: [PATCH] add vscode config --- .vscode/dictionaries/project-words.txt | 1 + .vscode/extensions.json | 10 ++++ .vscode/settings.json | 71 ++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .vscode/dictionaries/project-words.txt create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/dictionaries/project-words.txt b/.vscode/dictionaries/project-words.txt new file mode 100644 index 0000000..0601a09 --- /dev/null +++ b/.vscode/dictionaries/project-words.txt @@ -0,0 +1 @@ +tbd diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..bb7dca0 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "editorconfig.editorconfig", + "eamodio.gitlens", + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-german", + "bierner.emojisense", + "ryanluker.vscode-coverage-gutters" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ed6e551 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,71 @@ +{ + "files.encoding": "utf8", + "files.eol": "auto", + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "editor.renderWhitespace": "boundary", + "editor.formatOnSave": true, + "editor.formatOnType": true, + "editor.rulers": [ + 116 + ], + // powershell general + "powershell.startAutomatically": true, + "powershell.enableProfileLoading": true, + "powershell.scriptAnalysis.enable": true, + // powershell code Formatting + "powershell.codeFormatting.openBraceOnSameLine": true, + "powershell.codeFormatting.newLineAfterOpenBrace": true, + "powershell.codeFormatting.newLineAfterCloseBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenParen": true, + "powershell.codeFormatting.whitespaceAroundOperator": true, + "powershell.codeFormatting.whitespaceAfterSeparator": true, + "powershell.codeFormatting.ignoreOneLineBlock": true, + "powershell.codeFormatting.alignPropertyValuePairs": true, + // cSpell settings for custom dictionary + "cSpell.enabled": true, + "cSpell.caseSensitive": false, + "cSpell.maxNumberOfProblems": 100, + "cSpell.numSuggestions": 8, + "cSpell.minWordLength": 3, + "cSpell.allowCompoundWords": false, + "cSpell.ignorePaths": [ + "package-lock.json", + "node_modules", + "vscode-extension", + ".git/objects", + ".vscode", + ".vscode-insiders" + ], + "cSpell.enabledLanguageIds": [ + "c", + "cpp", + "csharp", + "go", + "javascript", + "javascriptreact", + "json", + "latex", + "markdown", + "php", + "plaintext", + "powershell", + "python", + "text", + "typescript", + "typescriptreact", + "yaml", + "yml" + ], + "cSpell.language": "en-US,de-DE", + "cSpell.customDictionaries": { + "project-words": { + "name": "project-words", + "path": "${workspaceRoot}/.vscode/dictionaries/project-words.txt", + "description": "Words used in this project", + "addWords": true + }, + "custom": true + } +}