   messages: null
   subscriptions: null
 
+  # Configuration options
   config:
+    # Path to pawncc executable
     pawnExecutablePath:
       title: 'Path to pawncc executable'
       type: 'string'
       default: 'C:\\pawn\\pawncc.exe'
+
+    # List of pawncc options (passed before filename)
     pawnOptions:
       title: 'Pawn options'
       type: 'array'

      output = @createOutputPanel()

      if data
        lines = data.split('\n')
        for line in lines
          output.add new PlainMessageView
            message: line
      else
        output.add new PlainMessageView
          message: 'Could not run pawncc: Unknown error (' + exitCode + ')'

        type: 'string'

  activate: (state) ->
    # Activate package
    @subscriptions = new CompositeDisposable
    @subscriptions.add atom.commands.add 'atom-workspace', 'pawn-build:build': => @build()

  deactivate: ->
    # Deactivate package
    @messages?.detatch()
    @subscriptions.dispose()
    @pawnBuildView.destroy()
