@@ -153,6 +153,7 @@ export async function createEnvironmentCommand(
153153 if ( projects . length === 0 ) {
154154 const env = await manager . create ( 'global' , undefined ) ;
155155 if ( env ) {
156+ traceInfo ( `Environment created: ${ env . displayName } ` ) ;
156157 await em . setEnvironments ( 'global' , env ) ;
157158 }
158159 return env ;
@@ -162,6 +163,7 @@ export async function createEnvironmentCommand(
162163 const scope = selected . length === 0 ? 'global' : selected . map ( ( p ) => p . uri ) ;
163164 const env = await manager . create ( scope , undefined ) ;
164165 if ( env ) {
166+ traceInfo ( `Environment created: ${ env . displayName } ` ) ;
165167 await em . setEnvironmentsIfUnset ( scope , env ) ;
166168 }
167169 return env ;
@@ -216,6 +218,9 @@ export async function createAnyEnvironmentCommand(
216218 const manager = em . managers . find ( ( m ) => m . id === managerId ) ;
217219 if ( manager ) {
218220 const env = await manager . create ( 'global' , { ...options } ) ;
221+ if ( env ) {
222+ traceInfo ( `Environment created: ${ env . displayName } ` ) ;
223+ }
219224 if ( select && env ) {
220225 await manager . set ( undefined , env ) ;
221226 }
@@ -270,6 +275,9 @@ export async function createAnyEnvironmentCommand(
270275 selected . map ( ( p ) => p . uri ) ,
271276 { ...options , quickCreate } ,
272277 ) ;
278+ if ( env ) {
279+ traceInfo ( `Environment created: ${ env . displayName } ` ) ;
280+ }
273281 if ( select && env ) {
274282 await em . setEnvironments (
275283 selected . map ( ( p ) => p . uri ) ,
@@ -739,12 +747,12 @@ export async function copyPathToClipboard(item: unknown): Promise<void> {
739747 if ( item instanceof ProjectItem ) {
740748 const projectPath = item . project . uri . fsPath ;
741749 await clipboardWriteText ( projectPath ) ;
742- traceInfo ( `Copied project path to clipboard: ${ projectPath } ` ) ;
750+ traceVerbose ( `Copied project path to clipboard: ${ projectPath } ` ) ;
743751 } else if ( item instanceof ProjectEnvironment || item instanceof PythonEnvTreeItem ) {
744752 const run = item . environment . execInfo . run ;
745753 const envPath = run . executable ;
746754 await clipboardWriteText ( envPath ) ;
747- traceInfo ( `Copied environment path to clipboard: ${ envPath } ` ) ;
755+ traceVerbose ( `Copied environment path to clipboard: ${ envPath } ` ) ;
748756 } else {
749757 traceVerbose ( `Invalid context for copy path to clipboard: ${ item } ` ) ;
750758 }
0 commit comments