Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,20 @@
"default": true,
"description": "Whether to typecheck the entire project on load. It could drive to bad performance in large projects."
},
"haskell.sessionLoading": {
"scope": "resource",
"type": "string",
"enum": [
"singleComponent",
"multipleComponents"
],
"default": "singleComponent",
"description": "Project loading preference of the Haskell Language Server. It allows the build tool (such as `cabal` or `stack`) to [load multiple components at once](https://github.com/haskell/cabal/pull/8726). While this can lead to an improved IDE experience, it is an experimental feature.",
"enumDescriptions": [
"Always load only a single component at a time. This is the most reliable option if you encountered any issues with the other options.",
"Prefer a multiple component session, if the build tool supports it. At the moment, only `cabal` supports multiple components session loading. If the `cabal` version does not support loading multiple components at once, we gracefully fall back to \"singleComponent\" mode."
]
},
"haskell.maxCompletions": {
"scope": "resource",
"default": 40,
Expand Down