File tree Expand file tree Collapse file tree 3 files changed +1
-21
lines changed
Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 173173 "category" : " Python" ,
174174 "icon" : " $(refresh)"
175175 },
176- {
177- "command" : " python-envs.refreshManager" ,
178- "title" : " %python-envs.refreshManager.title%" ,
179- "category" : " Python" ,
180- "icon" : " $(refresh)"
181- },
182176 {
183177 "command" : " python-envs.refreshPackages" ,
184178 "title" : " %python-envs.refreshPackages.title%" ,
264258 "command" : " python-envs.refreshAllManagers" ,
265259 "when" : " false"
266260 },
267- {
268- "command" : " python-envs.refreshManager" ,
269- "when" : " false"
270- },
271261 {
272262 "command" : " python-envs.refreshPackages" ,
273263 "when" : " false"
348338 "group" : " inline" ,
349339 "when" : " view == env-managers && viewItem =~ /.*pythonEnvironment.*/"
350340 },
351- {
352- "command" : " python-envs.refreshManager" ,
353- "group" : " inline" ,
354- "when" : " view == env-managers && viewItem =~ /.*pythonEnvManager.*/"
355- },
356341 {
357342 "command" : " python-envs.createTerminal" ,
358343 "group" : " inline" ,
Original file line number Diff line number Diff line change 2424 "python-envs.reset.title" : " Reset to Default" ,
2525 "python-envs.remove.title" : " Delete Environment" ,
2626 "python-envs.refreshAllManagers.title" : " Refresh All Environment Managers" ,
27- "python-envs.refreshManager.title" : " Refresh Environments List" ,
2827 "python-envs.refreshPackages.title" : " Refresh Packages List" ,
2928 "python-envs.packages.title" : " Manage Packages" ,
3029 "python-envs.clearCache.title" : " Clear Cache" ,
3534 "python-envs.terminal.activate.title" : " Activate Environment in Current Terminal" ,
3635 "python-envs.terminal.deactivate.title" : " Deactivate Environment in Current Terminal" ,
3736 "python-envs.uninstallPackage.title" : " Uninstall Package"
38- }
37+ }
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
2929 createTerminalCommand ,
3030 getPackageCommandOptions ,
3131 handlePackageUninstall ,
32- refreshManagerCommand ,
3332 refreshPackagesCommand ,
3433 removeEnvironmentCommand ,
3534 removePythonProject ,
@@ -147,9 +146,6 @@ export async function activate(context: ExtensionContext): Promise<PythonEnviron
147146 await cleanupStartupScripts ( shellStartupProviders ) ;
148147 } ) ,
149148 commands . registerCommand ( 'python-envs.viewLogs' , ( ) => outputChannel . show ( ) ) ,
150- commands . registerCommand ( 'python-envs.refreshManager' , async ( item ) => {
151- await refreshManagerCommand ( item ) ;
152- } ) ,
153149 commands . registerCommand ( 'python-envs.refreshAllManagers' , async ( ) => {
154150 await Promise . all ( envManagers . managers . map ( ( m ) => m . refresh ( undefined ) ) ) ;
155151 } ) ,
You can’t perform that action at this time.
0 commit comments