 
     @registerViewProviders()
     document.head.appendChild(new StylesElement)
-    @clipboard = new Clipboard()
     @grammars = @deserializers.deserialize(@state.grammars ? @state.syntax) ? new GrammarRegistry()
     @disposables.add @packages.onDidActivateInitialPackages => @watchThemes()
 


    @loadTime = null

    Clipboard = require './clipboard'
    GrammarRegistry = require './grammar-registry'
    {devMode, safeMode, resourcePath} = @getLoadSettings()
    configDirPath = @getConfigDirPath()

    ContextMenuManager = require './context-menu-manager'
    @contextMenu = new ContextMenuManager({resourcePath, devMode, keymapManager: @keymaps})

    Clipboard = require './clipboard'
    @clipboard = new Clipboard()

  reset: ->
    @config.reset()

