From d595c64ca5b2600b39656c704a64138f3caa4090 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Tue, 25 Jun 2024 21:11:43 +0200 Subject: [PATCH] add vscode workspace --- .gitignore | 4 +--- .vscode/extensions.json | 18 ++++++++++++++++++ .vscode/tasks.json | 22 ++++++++++++++++++++++ charts.code-workspace | 7 +++++++ 4 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/tasks.json create mode 100644 charts.code-workspace diff --git a/.gitignore b/.gitignore index 9898f8c6e2e..2852b63370b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,9 +12,7 @@ config.py auto_config.py .DS_Store .idea/ -.vscode/ -# IDE resources -.vscode +.vscode/settings.json .idea Gemfile.lock Chart.lock diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000000..e8350c7a333 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,18 @@ +{ + "recommendations": [ + "redhat.vscode-yaml", + "mrmlnc.vscode-duplicate", + "mhutchie.git-graph", + "eamodio.gitlens", + "yzhang.markdown-all-in-one", + "searKing.preview-vscode", + "DavidAnson.vscode-markdownlint", + "IgorSbitnev.error-gutters", + "usernamehw.errorlens", + "Tim-Koehler.helm-intellisense", + "ms-kubernetes-tools.vscode-kubernetes-tools", + "sandipchitale.vscode-kubernetes-helm-extras", + "VadzimNestsiarenka.helm-template-preview-and-more", + "karyan40024.helmix" + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000000..eaf4171780a --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,22 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Install All Recommended Extensions", + "type": "shell", + "windows": { + "command": "foreach ($ext in (Get-Content -Raw .vscode/extensions.json | ConvertFrom-Json).recommendations) { Write-Host Installing $ext; code --install-extension $ext; }" + }, + "linux": { + "command": "cat .vscode/extensions.json | jq .recommendations[] | xargs -n 1 code . --install-extension" + }, + "runOptions": { + "runOn": "folderOpen" + }, + "presentation": { + "reveal": "silent" + }, + "problemMatcher" : [] + }, + ] +} \ No newline at end of file diff --git a/charts.code-workspace b/charts.code-workspace new file mode 100644 index 00000000000..362d7c25bb4 --- /dev/null +++ b/charts.code-workspace @@ -0,0 +1,7 @@ +{ + "folders": [ + { + "path": "." + } + ] +} \ No newline at end of file