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
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Furthermore, the extension supports multiple ways of initializing hie, depending
46
46
"languageServerHaskell.useHieWrapper": true,
47
47
```
48
48
49
-
makes VSCode use the `hie-wrapper.sh` file to start hie through. This does assume that you built the hie executable using make build, but will fall back to plain hie.
49
+
makes VSCode use the `hie-wrapper.sh` file to start hie through. This does assume that you built the hie executable using make build, but will fall back to plain hie. This will take precedence over `hieExecutablePath`.
50
50
51
51
#### Custom Wrapper
52
52
@@ -62,7 +62,7 @@ There are a few placeholders which will be expanded:
62
62
-`~`, `${HOME}` and `${home}` will be expanded into your users' home folder.
63
63
-`${workspaceFolder}` and `${workspaceRoot}` will expand into your current project root.
64
64
65
-
This can be beneficial if you are using something like nix, to have a wrapper script tailored to your setup.
65
+
This can be beneficial if you are using something like nix, to have a wrapper script tailored to your setup. This will take precedence over `useHieWrapper` and `hieExecutablePath`.
66
66
67
67
#### Enable/disable HIE
68
68
@@ -72,6 +72,16 @@ You can enable or disable HIE via configuration. This is useful, because multi-r
72
72
"languageServerHaskell.enableHIE": true
73
73
```
74
74
75
+
#### Path for hie executable
76
+
77
+
If you `hie` executable is not on your path, you can manually set it,
Copy file name to clipboardExpand all lines: package.json
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "vscode-hie-server",
3
3
"displayName": "Haskell Language Server",
4
4
"description": "Language Server Protocol for Haskell via HIE",
5
-
"version": "0.0.12",
5
+
"version": "0.0.13",
6
6
"license": "MIT",
7
7
"publisher": "alanz",
8
8
"engines": {
@@ -71,23 +71,29 @@
71
71
"default": 100,
72
72
"description": "Controls the maximum number of problems produced by the server."
73
73
},
74
+
"languageServerHaskell.hieExecutablePath": {
75
+
"scope": "resource",
76
+
"type": "string",
77
+
"default": "",
78
+
"description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}."
79
+
},
74
80
"languageServerHaskell.useHieWrapper": {
75
81
"scope": "resource",
76
82
"type": "boolean",
77
83
"default": false,
78
-
"description": "Try to automatically select the correct hie version, based on your projects GHC version. NOTE: Build hie using the Makefile to get all versions."
84
+
"description": "Try to automatically select the correct hie version, based on your projects GHC version. NOTE: Build hie using the Makefile to get all versions. This will take precedence over hieExecutablePath."
79
85
},
80
86
"languageServerHaskell.useCustomHieWrapper": {
81
87
"scope": "resource",
82
88
"type": "boolean",
83
89
"default": false,
84
-
"description": "Use your own custom wrapper for hie (remember to specify the path!). This will take effect over useHieWrapper."
90
+
"description": "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath."
0 commit comments