You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This extension adds language support for [Haskell](https://haskell.org), powered by the [Haskell Language Server](https://github.com/haskell/haskell-language-server).
4
6
5
7
## Features
@@ -14,8 +16,7 @@ This extension adds language support for [Haskell](https://haskell.org), powered
14
16
-[Multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces) support
15
17
- Code evaluation (Haskell Language Server)
16
18
17
-

18
-
19
+

19
20
20
21
## Requirements
21
22
@@ -63,19 +64,20 @@ There are a few placeholders which will be expanded:
63
64
Haskell Language Server can display Haddock documentation on hover and completions if the project and
64
65
its dependencies have been built with the `-haddock` GHC flag.
65
66
66
-
- For cabal:
67
-
- Add to your global config file (e.g. `~/.cabal/config`):
68
-
```
69
-
program-default-options
70
-
ghc-options: -haddock
71
-
```
72
-
- Or, for a single project, run `cabal configure --ghc-options=-haddock`
67
+
- For cabal:
73
68
74
-
-For stack, add to global `$STACK_ROOT\config.yaml`, or project's `stack.yaml`:
69
+
-Add to your global config file (e.g. `~/.cabal/config`):
75
70
```
76
-
ghc-options:
77
-
"$everything": -haddock
71
+
program-default-options
72
+
ghc-options: -haddock
78
73
```
74
+
- Or, for a single project, run `cabal configure --ghc-options=-haddock`
75
+
76
+
- For stack, add to global `$STACK_ROOT\config.yaml`, or project's `stack.yaml`:
77
+
```
78
+
ghc-options:
79
+
"$everything": -haddock
80
+
```
79
81
Note that this flag will cause compilation errors if a dependency contains invalid Haddock markup,
80
82
until GHC 8.12 which [will report warnings](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2377)
0 commit comments