From 1eba8f15c5bcc3e9a2ea61975444daafe0695b4e Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:20:46 +0100 Subject: [PATCH] MAINT: migrate to new Unwanted extension (#259) --- .gitpod.yml | 2 +- .vscode/extensions.json | 2 +- src/repoma/check_dev_files/vscode.py | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 6cb70a6b..86f247e4 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,6 @@ vscode: - editorconfig.editorconfig - esbenp.prettier-vscode - executablebookproject.myst-highlight - - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github - ms-python.black-formatter @@ -31,6 +30,7 @@ vscode: - ms-vsliveshare.vsliveshare - redhat.vscode-yaml - ryanluker.vscode-coverage-gutters + - Soulcode.vscode-unwanted-extensions - stkb.rewrap - streetsidesoftware.code-spell-checker - tamasfe.even-better-toml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index bdeb608f..e526064c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,7 +6,6 @@ "editorconfig.editorconfig", "esbenp.prettier-vscode", "executablebookproject.myst-highlight", - "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", "ms-python.black-formatter", @@ -17,6 +16,7 @@ "ms-vsliveshare.vsliveshare", "redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters", + "Soulcode.vscode-unwanted-extensions", "stkb.rewrap", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml", diff --git a/src/repoma/check_dev_files/vscode.py b/src/repoma/check_dev_files/vscode.py index 24493ce7..6f6bc6d3 100644 --- a/src/repoma/check_dev_files/vscode.py +++ b/src/repoma/check_dev_files/vscode.py @@ -26,10 +26,15 @@ def _update_extensions() -> None: unwanted=True, ) executor( - vscode.add_extension_recommendation, + vscode.remove_extension_recommendation, "garaioag.garaio-vscode-unwanted-recommendations", # cspell:ignore garaio garaioag ) + executor( + vscode.add_extension_recommendation, + "Soulcode.vscode-unwanted-extensions", + # cspell:ignore Soulcode + ) executor.finalize()