       @openFolder(packageDir)
 
   revealFile: ->
+    require("./ga").sendEvent("browse", "reveal-file");
+
     editor = atom.workspace.getActivePaneItem()
 
     if editor?.constructor.name is "TextEditor" or editor?.constructor.name is "ImageEditor"
       file = if editor?.buffer?.file then editor.buffer.file else if editor?.file then editor.file
-      
+
       if file?.path
         @selectFile(file.path)
         return

    @subscriptions.add atom.commands.add "atom-workspace", "#{name}:reveal-file-from-treeview": => @revealFileFromTreeview()
    @subscriptions.add atom.commands.add "atom-workspace", "#{name}:application-folder": => @appFolder()

  deactivate: ->
    @subscriptions?.dispose()
    @subscriptions = null

  appFolder: ->
    { platform } = require "os"
    { dirname, join, resolve } = require "path"


    atom.notifications.addWarning("**#{name}**: No selected files", dismissable: false)

  browseProjects: ->
    require("./ga").sendEvent("browse", "project-folders");

    { accessSync, F_OK } = require "fs"

    projects = atom.project.getPaths()
