Skip to content

Commit 55a5d52

Browse files
authored
Merge pull request #382 from haskell/more-config-options
Add rest of hls-1.1.0 config options
2 parents 034d2bb + 6a5ec5e commit 55a5d52

File tree

2 files changed

+47
-8
lines changed

2 files changed

+47
-8
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
},
8484
"haskell.completionSnippetsOn": {
8585
"title": "Completion Snippets",
86+
"markdownDeprecationMessage": "**Deprecated**: Please use `#haskell.plugin.ghcide-completions.config.snippetsOn#` instead.",
8687
"scope": "resource",
8788
"type": "boolean",
8889
"default": true,
@@ -218,18 +219,44 @@
218219
"default": true,
219220
"description": "Enables wingman (tactic) plugin"
220221
},
222+
"haskell.plugin.tactic.config.features": {
223+
"scope": "resource",
224+
"type": "string",
225+
"default": true,
226+
"markdownDescription": "Features set used by wingman (tactic) plugin"
227+
},
228+
"haskell.plugin.tactics.config.hole_severity": {
229+
"enumDescriptions": [
230+
"error",
231+
"warning",
232+
"info",
233+
"hint",
234+
"none"
235+
],
236+
"scope": "resource",
237+
"description": "The severity to use when showing hole diagnostics.",
238+
"enum": [
239+
1,
240+
2,
241+
3,
242+
4,
243+
null
244+
],
245+
"default": null,
246+
"type": "string"
247+
},
221248
"haskell.plugin.tactic.config.max_use_ctor_actions": {
222249
"title": "Max number of constructors",
223250
"scope": "resource",
224251
"type": "integer",
225252
"default": true,
226253
"markdownDescription": "Maximum number of `Use constructor <x>` code actions that can appear"
227254
},
228-
"haskell.plugin.tactic.config.features": {
255+
"haskell.plugin.tactics.config.timeout_duration": {
256+
"markdownDescription": "The timeout for Wingman actions, in seconds",
229257
"scope": "resource",
230-
"type": "string",
231-
"default": true,
232-
"markdownDescription": "Features set used by wingman (tactic) plugin"
258+
"default": 2,
259+
"type": "integer"
233260
},
234261
"haskell.plugin.pragmas.codeActionsOn": {
235262
"scope": "resource",
@@ -243,6 +270,18 @@
243270
"default": true,
244271
"description": "Enables pragmas completions"
245272
},
273+
"haskell.plugin.ghcide-completions.config.autoExtendOn": {
274+
"markdownDescription": "Extends the import list automatically when completing a out-of-scope identifier",
275+
"scope": "resource",
276+
"default": true,
277+
"type": "boolean"
278+
},
279+
"haskell.plugin.ghcide-completions.config.snippetsOn": {
280+
"markdownDescription": "Inserts snippets when using code completions",
281+
"scope": "resource",
282+
"default": true,
283+
"type": "boolean"
284+
},
246285
"haskell.plugin.ghcide-type-lenses.globalOn": {
247286
"scope": "resource",
248287
"type": "boolean",
@@ -326,4 +365,4 @@
326365
"vscode-languageclient": "6.1.3",
327366
"yauzl": "^2.10.0"
328367
}
329-
}
368+
}

0 commit comments

Comments
 (0)