   serialize: -> undefined
 
   createOutputPanel: ->
-    # Create output panel (or return if already exists)
+    # create output panel (or return if already exists)
     unless @messages?
       @messages = new MessagePanelView
         title: 'Pawn output'

    return @messages

  build: ->
    # get path of currently open file
    filepath = atom.workspace.getActiveTextEditor()?.getPath()


    # only continue if file is a .pwn file
    return unless filepath? and path.extname(filepath) == '.pwn'
    #also save it, so the unsaved buffer is included
    atom.workspace.getActiveTextEditor().save()

    # prepare command and arguments from package settigns
    cmd = atom.config.get('pawn-build.pawnExecutablePath')

  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'
