Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.576 kb
module OrganizeImports where
import Cohatoe.API
resource :: Interface
resource = plugin {
pluginMain = performOrganizeImports
}
-- TODO this is where the implementation starts. The first list elem of args
-- is the current editor content as string, and we are supposed to return
-- the new editor content, with organized imports. (If we can't handle,
-- e.g. because of a parse error, we should be gentle and return the
-- original buffer
performOrganizeImports :: [String] -> IO [String]
performOrganizeImports args = return args
Jump to Line
Something went wrong with that request. Please try again.