'use strict' ; import * as vscode from 'vscode' ; import { DevToolsExtensionContext } from './devToolsExtensionContext' ; export function activate ( context ) { const toolsExtensionContext = new DevToolsExtensionContext ( context ) ; toolsExtensionContext . activeDocumentSymbols . initializeContent ( ) ; context . subscriptions . push ( toolsExtensionContext ) ; vscode . commands . executeCommand ( 'setContext' , 'azALDevTools.extensionActive' , true ) ; return toolsExtensionContext ; } export function deactivate ( ) { vscode . commands . executeCommand ( 'setContext' , 'azALDevTools.extensionActive' , false ) ; }