diff --git a/package.json b/package.json index 387964d4..65bfd949 100644 --- a/package.json +++ b/package.json @@ -173,12 +173,6 @@ "category": "Python", "icon": "$(refresh)" }, - { - "command": "python-envs.refreshManager", - "title": "%python-envs.refreshManager.title%", - "category": "Python", - "icon": "$(refresh)" - }, { "command": "python-envs.refreshPackages", "title": "%python-envs.refreshPackages.title%", @@ -264,10 +258,6 @@ "command": "python-envs.refreshAllManagers", "when": "false" }, - { - "command": "python-envs.refreshManager", - "when": "false" - }, { "command": "python-envs.refreshPackages", "when": "false" @@ -348,11 +338,6 @@ "group": "inline", "when": "view == env-managers && viewItem =~ /.*pythonEnvironment.*/" }, - { - "command": "python-envs.refreshManager", - "group": "inline", - "when": "view == env-managers && viewItem =~ /.*pythonEnvManager.*/" - }, { "command": "python-envs.createTerminal", "group": "inline", diff --git a/package.nls.json b/package.nls.json index 2199961b..dee2887d 100644 --- a/package.nls.json +++ b/package.nls.json @@ -24,7 +24,6 @@ "python-envs.reset.title": "Reset to Default", "python-envs.remove.title": "Delete Environment", "python-envs.refreshAllManagers.title": "Refresh All Environment Managers", - "python-envs.refreshManager.title": "Refresh Environments List", "python-envs.refreshPackages.title": "Refresh Packages List", "python-envs.packages.title": "Manage Packages", "python-envs.clearCache.title": "Clear Cache", @@ -35,4 +34,4 @@ "python-envs.terminal.activate.title": "Activate Environment in Current Terminal", "python-envs.terminal.deactivate.title": "Deactivate Environment in Current Terminal", "python-envs.uninstallPackage.title": "Uninstall Package" -} \ No newline at end of file +} diff --git a/src/extension.ts b/src/extension.ts index 31e6477b..aca6ddac 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -29,7 +29,6 @@ import { createTerminalCommand, getPackageCommandOptions, handlePackageUninstall, - refreshManagerCommand, refreshPackagesCommand, removeEnvironmentCommand, removePythonProject, @@ -147,9 +146,6 @@ export async function activate(context: ExtensionContext): Promise outputChannel.show()), - commands.registerCommand('python-envs.refreshManager', async (item) => { - await refreshManagerCommand(item); - }), commands.registerCommand('python-envs.refreshAllManagers', async () => { await Promise.all(envManagers.managers.map((m) => m.refresh(undefined))); }),