File tree 1 file changed +2
-17
lines changed 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -134,22 +134,7 @@ export interface EnvironmentDetails {
134
134
path : string ;
135
135
project ?: string ; // Any specific project environment is created for.
136
136
source : EnvSource [ ] ;
137
- activationAPIs ?: // Contribute to this if you want Python extension to handle activation for any terminals that get created.
138
- | {
139
- usingEnvironmentVariableCollection : {
140
- // TODO: Think of whether to pass in the extensions collection object here.
141
- // Maybe we shouldn't pass it because other extension does not own the collections of the Python extensions?
142
- setCollection ( ) : void ;
143
- resetCollection ( ) : void ;
144
- } ;
145
- }
146
- | {
147
- usingTerminal : {
148
- // Maybe we can also pass in the terminal type here with the terminal object
149
- activateTerminal ( terminal : Terminal ) : Promise < boolean > ;
150
- deactivateTerminal ( terminal : Terminal ) : Promise < boolean > ;
151
- } ;
152
- } ;
137
+ activate : { [ key : string ] : string | null | undefined } ;
153
138
} ;
154
139
version : {
155
140
major : number ;
@@ -307,7 +292,7 @@ export type EnvInfo = {
307
292
interface EnvironmentProviderMetadata {
308
293
readonly envType : EnvType ;
309
294
readonly searchLocation ?: string ;
310
- readonly envSources : EnvSource [ ] ;
295
+ readonly envSources : EnvSource [ ] ; // Think of whether it should be an array?
311
296
readonly isRootBasedLocator : boolean ;
312
297
}
313
298
You can’t perform that action at this time.
0 commit comments