Skip to content

Commit cc162d9

Browse files
jian-linfendor
authored andcommitted
Add doc for haskell.sessionLoading
1 parent 71c2b58 commit cc162d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/configuration.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Here is a list of the additional settings currently supported by `haskell-langua
4545
- Max completions (`haskell.maxCompletions`, default 40): maximum number of completions sent to the LSP client.
4646
- Check project (`haskell.checkProject`, default true): whether to typecheck the entire project on initial load. As it is activated by default could drive to bad performance in large projects.
4747
- Check parents (`haskell.checkParents`, default `CheckOnSave`): when to typecheck reverse dependencies of a file; one of `NeverCheck`, `CheckOnSave` (means dependent/parent modules will only be checked when you save), or `AlwaysCheck` (means re-typechecking them on every change).
48+
- Session loading preference (`haskell.sessionLoading`, default `singleComponent`): how to load sessions; one of `singleComponent` (means always loading only a single component when a new component is discovered) or `multipleComponents` (means always preferring loading multiple components in the cradle at once). `multipleComponents` might not be always possible, if the tool doesn't support multiple components loading. The cradle can decide how to handle these situations, and whether to honour the preference at all.
4849

4950
#### Generic plugin configuration
5051

0 commit comments

Comments
 (0)