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
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,15 +123,27 @@ Please include the output when filing any issues on the [haskell-language-server
123
123
124
124
### Troubleshooting
125
125
126
-
- In Linux/MacOS systems, opening vscode in the windows system could not use the `$PATH` set in the shell
127
-
so it will not see required tools as ghc, cabal or stack. This usually happens if you have installed them
128
-
via ghcup. It could be fixed changing the `$PATH` variable in the init config file used by the windows system (f.e. `~/.profile`, but i can vary depending on your system setup).
129
-
See [this stackoverflow question](https://stackoverflow.com/questions/43983718/set-global-path-environment-variable-in-vs-code) for more tricks.
130
-
- Sometimes the language server might get stuck in a rut and stop responding to your latest changes.
131
-
Should this occur you can try restarting the language server with <kbd>Ctrl</kbd> <kbd>shift</kbd> <kbd>P</kbd>/<kbd>⌘</kbd> <kbd>shift</kbd> <kbd>P</kbd> > Restart Haskell LSP Server.
126
+
#### Check issues and tips in the haskell-language-server project
127
+
132
128
- Usually the error or unexpected behaviour is already reported in the [haskell language server issue tracker](https://github.com/haskell/haskell-language-server/issues). Finding the issue could be useful to help resolve it and sometimes includes a workaround for the issue.
133
129
- You can also check the [troubleshooting section](https://haskell-language-server.readthedocs.io/en/latest/troubleshooting.html) in the server documentation.
134
130
131
+
#### Restarting the language server
132
+
133
+
- Sometimes the language server might get stuck in a rut and stop responding to your latest changes.
134
+
Should this occur you can try restarting the language server with <kbd>Ctrl</kbd> <kbd>shift</kbd> <kbd>P</kbd>/<kbd>⌘</kbd> <kbd>shift</kbd> <kbd>P</kbd> > Restart Haskell LSP Server.
135
+
136
+
### `Cradle requires ghc/cabal/stack but it isn't installed`
137
+
138
+
- In Linux/MacOS systems, opening vscode in the windows system could not use the `$PATH` set in the shell
139
+
so it will not see required tools as ghc, cabal or stack. This usually happens if you have installed them
140
+
via ghcup.
141
+
- It could be fixed changing the `$PATH` variable in the init config file used by the windows system
142
+
(f.e. `~/.profile`, but i can vary depending on your system setup).
143
+
- See [this stackoverflow question](https://stackoverflow.com/questions/43983718/set-global-path-environment-variable-in-vs-code) for more tricks.
144
+
145
+
146
+
135
147
## Contributing
136
148
137
149
If you want to help, get started by reading [Contributing](https://github.com/haskell/vscode-haskell/blob/master/Contributing.md) for more details.
0 commit comments