Update README. Fix issue #494

This commit is contained in:
Rik 2020-01-01 15:21:22 +01:00 committed by GitHub
parent 57cce379c7
commit 7e307a282d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,9 @@ When used with `hindent`, `intellij-haskell` automatically sets `--indent-size`
- Install latest version of [Stack](https://github.com/commercialhaskell/stack); use `stack upgrade` to confirm you are on the latest version.
- Setup the project:
- Make sure your Stack project builds without errors. Preferably by using: `stack build --test --haddock --no-haddock-hyperlink-source`;
- After your project is built successfully, import project in IntelliJ by using `File`>`New`>`Project from Existing Sources...` from the IntelliJ menu;
- After your project is built successfully, import an existing project by:
- Inside IntelliJ use `File`>`New`>`Project from Existing Sources...` from the IntelliJ menu;
- In the "Welcome to IntelliJ IDEA" dialog" use `Import Project`;
- In the `New Project` wizard select `Import project from external model` and check `Haskell Stack`;
- In next page of wizard configure `Project SDK` by configuring `Haskell Tool Stack` with selecting path to `stack` binary, e.g. `/usr/local/bin/stack`;
- Finish wizard and project will be opened;