Users should be able to specify multi-repl
support and opt-out of it, if unsupported.
#4178
Labels
multi-repl
support and opt-out of it, if unsupported.
#4178
We added support for loading multiple component loading in #3462 and since then, we had a couple of bug reports and other issues, such as haskell/cabal#9860.
We improve the situation by adding a
hie-bios
configuration and expand this configurability to HLS itself: It should be possible to use the cabalmulti-repl
feature by toggling an option in the lsp client.To achieve that, introduce a new LSP config:
Description: Specify the project loading strategy of the Language Server. It allows the build tool (such as
cabal
orstack
) to load multiple components at once. While this can lead to an improved IDE experience, it is an experimental feature. Only change to "Single Component" when you encounter issues withcabal
.Configs:
cabal
supports loading with multiple components. If thecabal
version does not support load multiple components at once, HLS falls gracefully back to "Single Component" modecabal
version3.12
,cabal
supports loading of multiple components at once.Related issue: #3738
The text was updated successfully, but these errors were encountered: