-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
281 lines (281 loc) · 8.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
{
"name": "haskutil",
"displayName": "Haskutil",
"description": "'QuickFix' actions for Haskell editor",
"version": "0.14.0",
"publisher": "Edka",
"icon": "images/Haskutil-logo.png",
"repository": {
"url": "https://github.com/EduardSergeev/vscode-haskutil"
},
"engines": {
"vscode": "^1.48.0"
},
"categories": [
"Other"
],
"license": "MIT",
"galleryBanner": {
"theme": "dark",
"color": "#444"
},
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "haskell",
"aliases": [
"Haskell",
"haskell"
],
"extensions": [
".hs",
".lhs"
]
}
],
"configuration": {
"type": "object",
"title": "Haskutil configuration settings",
"properties": {
"haskutil.feature.addImport": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Add import` feature"
},
"haskutil.feature.addQualifiedImport": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Add qualified import` feature"
},
"haskutil.feature.organizeImports": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Organize import` feature"
},
"haskutil.feature.addExtension": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Add extension` feature"
},
"haskutil.feature.organizeExtensions": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Organize extensions` feature"
},
"haskutil.feature.addSignature": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Add top-level signature` feature"
},
"haskutil.feature.fillTypeHole": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Fill type hole` feature"
},
"haskutil.feature.fillTypeWildcard": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Fill type wildcard` feature"
},
"haskutil.alignImports": {
"type": "boolean",
"description": "Align imports when organizing imports",
"default": true
},
"haskutil.alwaysPadImports": {
"type": "boolean",
"description": "Always pad after `import` regardless if there is `qualified` import or not",
"default": false
},
"haskutil.sortImports": {
"type": "boolean",
"description": "Sort imports when organizing imports",
"default": true
},
"haskutil.placeOperatorsAfterFunctions": {
"type": "boolean",
"description": "Place operators after other elements in imported element lists in import declarations",
"default": false
},
"haskutil.sortImportedElementLists": {
"type": "boolean",
"description": "Sort imported elements lists in import declarations when organizing imports",
"default": true
},
"haskutil.organiseImportsOnSave": {
"type": "boolean",
"description": "Organize imports on save",
"default": false
},
"haskutil.organiseImportsOnInsert": {
"type": "boolean",
"description": "Organize imports when adding new import",
"default": true
},
"haskutil.feature.removeUnusedImport": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Enable `Remove unused imports` feature"
},
"haskutil.splitExtensions": {
"type": "boolean",
"description": "Make sure there is one extension per LANGUAGE pragma when organizing extensions",
"default": true
},
"haskutil.alignExtensions": {
"type": "boolean",
"description": "Make sure of LANGUAGE extension pragma are of the same length when organizing extensions",
"default": true
},
"haskutil.sortExtensions": {
"type": "boolean",
"description": "Make sure LANGUAGE extension pragmas are sorted when organizing imports",
"default": true
},
"haskutil.organiseExtensionOnSave": {
"type": "boolean",
"description": "Organize extensions on save",
"default": false
},
"haskutil.organiseExtensionOnInsert": {
"type": "boolean",
"description": "Organize extensions when adding new extensions",
"default": true
},
"haskutil.supportedExtensions": {
"type": "array",
"description": "Haskell LANGUAGE extensions specified in GHC's error messages",
"default": [
"BangPatterns",
"DataKinds",
"DefaultSignatures",
"DeriveFunctor",
"DeriveGeneric",
"FlexibleContexts",
"FlexibleInstances",
"FunctionalDependencies",
"GADTs",
"GeneralizedNewtypeDeriving",
"KindSignatures",
"MultiParamTypeClasses",
"NamedFieldPuns",
"RankNTypes",
"RecordWildCards",
"StandaloneDeriving",
"TemplateHaskell",
"TupleSections",
"TypeFamilies",
"TypeSynonymInstances",
"UndecidableInstances",
"TypeApplications",
"ViewPatterns"
]
},
"haskutil.checkDiagnosticsExtension": {
"type": "boolean",
"description": "Check if any of recommended VSCode extensions which generate Haskell diagnostics is installed",
"default": true
},
"haskutil.supportedDependencies": {
"type": "array",
"description": "Supported Haskell diagnostic generating extensions",
"items": {
"type": "object",
"properties": {
"id": {
"title": "Extension id",
"type": "string"
},
"name": {
"title": "Extension name",
"type": "string"
}
}
},
"default": [
{
"id": "dramforever.vscode-ghc-simple",
"name": "GHC"
},
{
"id": "Vans.haskero",
"name": "Haskero"
},
{
"id": "ndmitchell.haskell-ghcid",
"name": "ghcid"
},
{
"id": "digitalassetholdingsllc.ghcide",
"name": "ghcid"
},
{
"id": "taylorfausak.purple-yolk",
"name": "Purple Yolk"
}
]
}
}
}
},
"activationEvents": [
"onLanguage:haskell"
],
"extensionDependencies": [
"jcanero.hoogle-vscode"
],
"scripts": {
"precompile": "rm -rf ./out",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "mocha ./out/test/runTest.js",
"coverage": "c8 npm test",
"prepackage": "npm run compile",
"package": "vsce package",
"preupload": "npm run package",
"upload": "vsce publish"
},
"c8": {
"include": [
"src/**/*.ts",
"out/**/*.js"
],
"exclude": [
"src/test/*",
"out/test/*"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"check-coverage": false,
"report-dir": ".coverage"
},
"devDependencies": {
"@types/chai": "4.3.16",
"@types/mocha": "10.0.6",
"@types/node": "20.12.12",
"@types/vscode": "1.48.0",
"@vscode/test-electron": "2.3.9",
"@vscode/vsce": "2.23.0",
"c8": "^10.1.2",
"chai": "4.4.1",
"mocha": "10.4.0",
"source-map-support": "0.5.21",
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "4.9.5"
}
}