Skip to content
Merged
Changes from all commits
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": "Preferred approach for loading package components. Setting this to 'multiple components' (EXPERIMENTAL) allows the build tool (such as `cabal` or `stack`) to [load multiple components at once](https://github.com/haskell/cabal/pull/8726), which is a significant improvement.",
"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