@@ -2,8 +2,8 @@
22
33Our vision is that you should build an IDE by combining:
44
5−* [hie-bios](https://github.com/mpickering/haskell-ide-engine/tree/hie-bios/hie-bios) for determining where your files are, what the dependencies, what extensions are enabled etc.
6−* `haskell-ide-core` - this library - for defining how to type check, when to type check, and producing messages.
5+* [hie-bios](https://github.com/mpickering/hie-bios) for determining where your files are, what the dependencies, what extensions are enabled etc.
6+* `hie-core` - this library - for defining how to type check, when to type check, and producing messages.
77* `haskell-lsp` for sending those messages to an LSP server.
88* A VS Code extension, e.g. `extension` in this directory.
99
@@ -14,26 +14,17 @@ There are more details [in this blog post](https://4ta.uk/p/shaking-up-the-ide).
1414### Installing the binary
1515
16161. `git clone https://github.com/digital-asset/daml.git`
17−2. `cd daml/compiler/haskell-ide-core`
17+2. `cd daml/compiler/hie-core`
18183. `stack build`
1919
20−### Using the VSCode extension
20+### Installing the VSCode extension
2121
22−1. `cd extension`
23−2. `npm install`
24−3. `code .`
25−4. Press F5 to start the extension.
26−5. In the spawned extension, open the folder `haskell-ide-core`.
27−6. In the preferences, set the Haskell IDE Core executable preference to `stack` and the arguments to `exec -- ide-demo --lsp .ghci`
28−7. Run the Reload Window command in VS Code.
29−
30−### Installing the VSCode extension permanently
31−
32−1. `cd compiler/haskell-ide-core/extension`
22+1. `cd compiler/hie-core/extension`
33232. `vsce package`
34−3. `code --install-extension haskell-ide-core-0.0.1.vsix`
24+3. `code --install-extension hie-core-0.0.1.vsix`
25+
26+### Installing in Emacs
3527
36−### Installing in emacs
37281. Install lsp and haskell-lsp
38292. Add this elisp to your .emacs.el
3930```elisp
@@ -41,6 +32,6 @@ There are more details [in this blog post](https://4ta.uk/p/shaking-up-the-ide).
4132(require 'lsp-haskell)
4233(require 'yasnippet)
4334(add-hook 'haskell-mode-hook #'lsp)
44−(setq lsp-haskell-process-path-hie "haskell-ide-core")
35+(setq lsp-haskell-process-path-hie "hie-core")
4536(setq lsp-haskell-process-args-hie '())
4637```