-fs = require 'fs-plus'
-$ = require 'jquery'
-process = require 'child_process'
-hasbin = require 'hasbin'
-
 module.exports =
 class AtomIsort
   statusDialog: null

      return
    params = params.concat [@getFilePath()]

    proc = process.spawn isortPath, params
    output = []
    proc.stdout.setEncoding 'utf8'

    @runIsort 'sort'

  applySubstitutions: (p) ->
    path = require 'path'

    for project in atom.project.getPaths()
      [..., projectName] = project.split(path.sep)
      p = p.replace(/\$PROJECT_NAME/i, projectName)
