-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add installation and usage instructions #85
Comments
We should be able to bring the info from hie directly, it honours the same arguments. lsp-haskell has a customize option for it, setting the path to haskell-language-server-wrapper instead of hie-wrapper in any client should just work. |
Yeah, i think one little caveat is hls does not accept the
basically it is the key change, you have to set {
"languageServerHaskell.useCustomHieWrapperPath": "D:\\bin\\haskell-language-server-wrapper.exe",
"languageServerHaskell.useCustomHieWrapper": true,
"languageServerHaskell.trace.server": "messages"
} |
Now there is a vscode extension release that lets choose the server so it is easier. |
I'm about to go through the process this week and I will be documenting all my steps. Eventually, I will push them to this repo as docs. |
@EncodePanda I'll try to save you some time: pay attention to installing I didn't pay attention at first while doing |
@sir4ur0n yeah it has to be clearly visible in docs. However, the program should have emit a warning in the output pane and in a popup alert. At least haskell-ide-engine used to do it. |
I am porting the installation and configuration instruction from hie. |
Would someone coming from hie and using vs code need to uninstall anything first and if so could this be added to the readme? |
Good point. To give an immediate answer: no, nothing needs to be uninstalled. You can just install hls and point the vscode plugin to use haskell-language-server in its recent settings addition to switch between hie/ghcide/hls. |
Well, to close this i think we would add how to use hls with the more used editors (like hie) |
Checklist:
This issue is about how to install and use (editor integration) hls. Only available methods. |
Neovim + CoC could be just copypastted from hie, only changing executable name to hls-wrapper. |
@Anrock Did you manage to use formatter plugins? For me, running |
@suhdonghwi not much of a fan of autoformatting, but
is working on my setup. |
@Anrock Thank you! It works well now. |
Checklist:
The text was updated successfully, but these errors were encountered: