@@ -9,7 +9,13 @@ import { IApplicationShell, ICommandManager, IWorkspaceService } from '../common
9
9
import { Commands } from '../common/constants' ;
10
10
import { ContextKey } from '../common/contextKey' ;
11
11
import { IPythonExecutionFactory } from '../common/process/types' ;
12
- import { IDisposableRegistry , IInstaller , IPersistentState , IPersistentStateFactory } from '../common/types' ;
12
+ import {
13
+ IDisposableRegistry ,
14
+ IInstaller ,
15
+ IPersistentState ,
16
+ IPersistentStateFactory ,
17
+ IConfigurationService ,
18
+ } from '../common/types' ;
13
19
import { IMultiStepInputFactory } from '../common/utils/multiStepInput' ;
14
20
import { IInterpreterService } from '../interpreter/contracts' ;
15
21
import { traceError , traceInfo } from '../logging' ;
@@ -42,6 +48,7 @@ export class TensorBoardSessionProvider implements IExtensionSingleActivationSer
42
48
@inject ( IPythonExecutionFactory ) private readonly pythonExecFactory : IPythonExecutionFactory ,
43
49
@inject ( IPersistentStateFactory ) private stateFactory : IPersistentStateFactory ,
44
50
@inject ( IMultiStepInputFactory ) private readonly multiStepFactory : IMultiStepInputFactory ,
51
+ @inject ( IConfigurationService ) private readonly configurationService : IConfigurationService ,
45
52
) {
46
53
this . preferredViewGroupMemento = this . stateFactory . createGlobalPersistentState < ViewColumn > (
47
54
PREFERRED_VIEWGROUP ,
@@ -102,6 +109,7 @@ export class TensorBoardSessionProvider implements IExtensionSingleActivationSer
102
109
this . applicationShell ,
103
110
this . preferredViewGroupMemento ,
104
111
this . multiStepFactory ,
112
+ this . configurationService ,
105
113
) ;
106
114
newSession . onDidChangeViewState ( ( ) => this . updateTensorBoardSessionContext ( ) , this , this . disposables ) ;
107
115
newSession . onDidDispose ( ( e ) => this . didDisposeSession ( e ) , this , this . disposables ) ;
0 commit comments