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
{{ message }}
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,6 @@ This plugin depends mainly on Stack. It can create new Stack projects and import
13
13
14
14
GHC 8.2 and later is supported.
15
15
16
-
The plugin expects that the Stack executable is on the PATH.
17
-
A Haskell project does **not** depend on a SDK.
18
-
19
16
Any feedback is welcomed!!
20
17
21
18
# GitHub Sponsors
@@ -98,13 +95,13 @@ Alternative way to install the latest beta version is to download `intellij-hask
98
95
- If you don't already have IntelliJ, [download it](https://www.jetbrains.com/idea/download/) - the Community Edition is sufficient.
99
96
- Install this plugin using the [Jetbrains plugin repository](https://plugins.jetbrains.com/idea/plugin/8258-intellij-haskell): `Settings`/`Plugins`/`Browse repositories`/`Intellij-Haskell`. Make sure no other Haskell plugin is installed in IntelliJ;
100
97
- Install latest version of [Stack](https://github.com/commercialhaskell/stack); use `stack upgrade` to confirm you are on the latest version.
101
-
- Make sure the stack executable is on the PATH.
102
98
- Setup the project:
103
99
- Make sure your Stack project builds without errors. Preferably by using: `stack build --test --haddock --no-haddock-hyperlink-source`;
104
100
- After your project is built successfully, import an existing project by:
105
101
- Inside IntelliJ use `File`>`New`>`Project from Existing Sources...` from the IntelliJ menu;
106
102
- In the `Welcome to IntelliJ IDEA` dialog use `Open or Import Project`;
107
103
- In the `New Project` wizard select `Import project from external model` and check `Haskell Stack`;
104
+
- 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` (you can use `which stack` on Linux or macOS or `where stack` on windows to find the path);
108
105
- Finish wizard and project will be opened;
109
106
- Wizard will automatically configure which folders are sources, test and which to exclude;
110
107
- Plugin will automatically build Haskell Tools (HLint, Hoogle, Ormolu and Stylish Haskell) to prevent incompatibility issues
0 commit comments