Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (13 sloc) 0.576 kb
a105943 @leiffrenzel skeleton for Organize imports functionality in the editor
leiffrenzel authored
1 module OrganizeImports where
2
3 import Cohatoe.API
4
5 resource :: Interface
6 resource = plugin {
7 pluginMain = performOrganizeImports
8 }
9
10 -- TODO this is where the implementation starts. The first list elem of args
11 -- is the current editor content as string, and we are supposed to return
12 -- the new editor content, with organized imports. (If we can't handle,
13 -- e.g. because of a parse error, we should be gentle and return the
14 -- original buffer
15 performOrganizeImports :: [String] -> IO [String]
16 performOrganizeImports args = return args
17
70991c1 @jwaldmann typesig
jwaldmann authored
18
Something went wrong with that request. Please try again.