Skip to content

Commit d46d622

Browse files
committed
Complete minimal generic plugin config
1 parent c7df983 commit d46d622

File tree

1 file changed

+63
-33
lines changed

1 file changed

+63
-33
lines changed

package.json

Lines changed: 63 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"properties": {
7070
"haskell.hlintOn": {
7171
"title": "Hlint",
72+
"markdownDeprecationMessage": "**Deprecated**: Please use `#haskell.plugin.hlint.globalOn#` instead.",
7273
"scope": "resource",
7374
"type": "boolean",
7475
"default": true,
@@ -171,109 +172,138 @@
171172
"scope": "resource",
172173
"type": "boolean",
173174
"default": true,
174-
"description": "Enables or disables the plugin entirely"
175+
"description": "Enables explicit imports plugin"
175176
},
176177
"haskell.plugin.importLens.codeActionsOn": {
177178
"scope": "resource",
178179
"type": "boolean",
179180
"default": true,
180-
"description": "Enables or disables plugin code actions"
181+
"description": "Enables explicit imports code actions"
181182
},
182183
"haskell.plugin.importLens.codeLensOn": {
183184
"scope": "resource",
184185
"type": "boolean",
185186
"default": true,
186-
"description": "Enables or disables plugin code lenses"
187+
"description": "Enables explicit imports code lenses"
187188
},
188-
"haskell.plugin.importLens.diagnosticsOn": {
189+
"haskell.plugin.hlint.globalOn": {
189190
"scope": "resource",
190191
"type": "boolean",
191192
"default": true,
192-
"description": "Enables or disables plugin diagnostics"
193+
"description": "Enables hlint plugin"
193194
},
194-
"haskell.plugin.importLens.hoverOn": {
195+
"haskell.plugin.hlint.codeActionsOn": {
195196
"scope": "resource",
196197
"type": "boolean",
197198
"default": true,
198-
"description": "Enables or disables plugin info on hover"
199+
"description": "Enables hlint code actions (apply hints)"
199200
},
200-
"haskell.plugin.importLens.symbolsOn": {
201+
"haskell.plugin.hlint.diagnosticsOn": {
201202
"scope": "resource",
202203
"type": "boolean",
203204
"default": true,
204-
"description": "Enables or disables specific symbols of the plugin"
205+
"description": "Enables hlint diagnostics"
205206
},
206-
"haskell.plugin.importLens.formattingOn": {
207+
"haskell.plugin.eval.globalOn": {
207208
"scope": "resource",
208209
"type": "boolean",
209210
"default": true,
210-
"description": "Enables or disables the plugin formatting capacity"
211+
"description": "Enables eval plugin"
211212
},
212-
"haskell.plugin.importLens.completionOn": {
213+
"haskell.plugin.moduleName.globalOn": {
213214
"scope": "resource",
214215
"type": "boolean",
215216
"default": true,
216-
"description": "Enables or disables plugin completions"
217+
"description": "Enables module name plugin"
217218
},
218-
"haskell.plugin.importLens.renameOn": {
219+
"haskell.plugin.splice.globalOn": {
219220
"scope": "resource",
220221
"type": "boolean",
221222
"default": true,
222-
"description": "Enables or disables plugin renaming capacity"
223+
"description": "Enables splice plugin (expand template haskell definitions)"
223224
},
224-
"haskell.plugin.hlint.globalOn": {
225+
"haskell.plugin.haddockComments.globalOn": {
225226
"scope": "resource",
226227
"type": "boolean",
227228
"default": true,
228-
"description": "Enables or disables the plugin entirely"
229+
"description": "Enables haddock comments plugin"
229230
},
230-
"haskell.plugin.hlint.codeActionsOn": {
231+
"haskell.plugin.class.globalOn": {
231232
"scope": "resource",
232233
"type": "boolean",
233234
"default": true,
234-
"description": "Enables or disables plugin code actions"
235+
"description": "Enables type class plugin"
235236
},
236-
"haskell.plugin.hlint.codeLensOn": {
237+
"haskell.plugin.retrie.globalOn": {
237238
"scope": "resource",
238239
"type": "boolean",
239240
"default": true,
240-
"description": "Enables or disables plugin code lenses"
241+
"description": "Enables retrie plugin"
241242
},
242-
"haskell.plugin.hlint.diagnosticsOn": {
243+
"haskell.plugin.tactic.globalOn": {
244+
"scope": "resource",
245+
"type": "boolean",
246+
"default": true,
247+
"description": "Enables haddock comments plugin"
248+
},
249+
"haskell.plugin.tactic.config.max_use_ctor_actions": {
250+
"title": "Max number of constructors",
243251
"scope": "resource",
244252
"type": "boolean",
245253
"default": true,
246-
"description": "Enables or disables plugin diagnostics"
254+
"markdownDescription": "Maximum number of `Use constructor <x>` code actions that can appear"
247255
},
248-
"haskell.plugin.hlint.hoverOn": {
256+
"haskell.plugin.tactic.config.features": {
257+
"scope": "resource",
258+
"type": "Object",
259+
"default": true,
260+
"markdownDescription": "Features set used by tactic plugin"
261+
},
262+
"haskell.plugin.pragmas.globalOn": {
249263
"scope": "resource",
250264
"type": "boolean",
251265
"default": true,
252-
"description": "Enables or disables plugin info on hover"
266+
"description": "Enables pragmas plugin"
253267
},
254-
"haskell.plugin.hlint.symbolsOn": {
268+
"haskell.plugin.pragmas.codeActionsOn": {
255269
"scope": "resource",
256270
"type": "boolean",
257271
"default": true,
258-
"description": "Enables or disables specific symbols of the plugin"
272+
"description": "Enables pragmas code actions"
259273
},
260-
"haskell.plugin.hlint.formattingOn": {
274+
"haskell.plugin.pragmas.completionOn": {
261275
"scope": "resource",
262276
"type": "boolean",
263277
"default": true,
264-
"description": "Enables or disables the plugin formatting capacity"
278+
"description": "Enables pragmas completions"
265279
},
266-
"haskell.plugin.hlint.completionOn": {
280+
"haskell.plugin.ghcide-type-lenses.globalOn": {
267281
"scope": "resource",
268282
"type": "boolean",
269283
"default": true,
270-
"description": "Enables or disables plugin completions"
284+
"description": "Enables pragmas plugin"
271285
},
272-
"haskell.plugin.hlint.renameOn": {
286+
"haskell.plugin.ghcide-type-lenses.codeLensOn": {
273287
"scope": "resource",
274288
"type": "boolean",
275289
"default": true,
276-
"description": "Enables or disables plugin renaming capacity"
290+
"description": "Enables pragmas code actions"
291+
},
292+
"haskell.plugin.ghcide-type-lenses.config.mode": {
293+
"scope": "resource",
294+
"type": "string",
295+
"default": true,
296+
"description": "Control how type lenses are shown",
297+
"enum": [
298+
"always",
299+
"exported",
300+
"diagnostics"
301+
],
302+
"enumDescriptions": [
303+
"Always displays type lenses of global bindings",
304+
"Only display type lenses of exported global bindings",
305+
"Follows error messages produced by GHC about missing signatures"
306+
]
277307
}
278308
}
279309
},

0 commit comments

Comments
 (0)