File tree Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 160160 "category" : " Python" ,
161161 "icon" : " $(check)"
162162 },
163-
164163 {
165164 "command" : " python-envs.remove" ,
166165 "title" : " %python-envs.remove.title%" ,
271270 "command" : " python-envs.setEnv" ,
272271 "when" : " false"
273272 },
274-
275273 {
276274 "command" : " python-envs.remove" ,
277275 "when" : " false"
393391 "group" : " inline" ,
394392 "when" : " view == python-projects && viewItem =~ /.*python-workspace.*/"
395393 },
396-
397394 {
398395 "command" : " python-envs.createTerminal" ,
399396 "group" : " inline" ,
Original file line number Diff line number Diff line change 2222 "python-envs.createAny.title" : " Create Environment" ,
2323 "python-envs.set.title" : " Set Project Environment" ,
2424 "python-envs.setEnv.title" : " Set As Project Environment" ,
25-
2625 "python-envs.remove.title" : " Delete Environment" ,
2726 "python-envs.refreshAllManagers.title" : " Refresh All Environment Managers" ,
2827 "python-envs.refreshPackages.title" : " Refresh Packages List" ,
Original file line number Diff line number Diff line change @@ -186,7 +186,6 @@ export async function activate(context: ExtensionContext): Promise<PythonEnviron
186186 commands . registerCommand ( 'python-envs.setEnv' , async ( item ) => {
187187 await setEnvironmentCommand ( item , envManagers , projectManager ) ;
188188 } ) ,
189-
190189 commands . registerCommand ( 'python-envs.setEnvManager' , async ( ) => {
191190 await setEnvManagerCommand ( envManagers , projectManager ) ;
192191 } ) ,
Original file line number Diff line number Diff line change @@ -329,8 +329,6 @@ async function setEnvironmentForProjects(
329329 await em . setEnvironments ( uris , environment ) ;
330330}
331331
332-
333-
334332export async function setEnvManagerCommand ( em : EnvironmentManagers , wm : PythonProjectManager ) : Promise < void > {
335333 const projects = await pickProjectMany ( wm . getProjects ( ) ) ;
336334 if ( projects && projects . length > 0 ) {
You can’t perform that action at this time.
0 commit comments