module author Amir Marcel, Christopher Johnson, Corey Van Splinter, Sean Arseneault
 *  date description import { ExtensionContext , commands } from 'vscode' ; import ReverbTreeProvider from './modules/reverbTreeProvider' ; import Decorator from './modules/Decorator' ; import * as utils from './utils/utils' ; export namespace ext { export let context ; export let treeView ; export let decoration ; export const setContext = < T > ( ctx , value ) => commands . executeCommand ( 'setContext' , ctx , value ) ; export const registerCommand = ( command , callback , thisArg ? ) => context . subscriptions . push ( commands . registerCommand ( command , callback , thisArg ) ) ; } export function initializeExtensionVariables ( ctx ) { ext . context = ctx ; if ( ! ext . treeView ) utils . resetTreeview ( ) ; ext . decoration = new Decorator ( ) ; }