File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/client/datascience/data-viewing Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { IExtensionSingleActivationService } from '../../activation/types';
33import { ICommandManager } from '../../common/application/types' ;
44import { ContextKey } from '../../common/contextKey' ;
55import { IExperimentService } from '../../common/types' ;
6+ import { noop } from '../../common/utils/misc' ;
67
78@injectable ( )
89export class DebuggerDataViewerExperimentEnabler implements IExtensionSingleActivationService {
@@ -11,6 +12,9 @@ export class DebuggerDataViewerExperimentEnabler implements IExtensionSingleActi
1112 @inject ( IExperimentService ) private readonly experimentService : IExperimentService
1213 ) { }
1314 public async activate ( ) {
15+ this . activateInternal ( ) . catch ( noop ) ;
16+ }
17+ private async activateInternal ( ) {
1418 // This context key controls the visibility of the 'View Variable in Data Viewer'
1519 // context menu item from the variable window context menu during a debugging session
1620 const isDataViewerExperimentEnabled = new ContextKey (
You can’t perform that action at this time.
0 commit comments