-
Notifications
You must be signed in to change notification settings - Fork 90
Command to restart hie #46
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
Comments
I'd very much like this too, but haven't been able to find anything in the VSCode LSP that would allow that. If anyone can point me to somewhere in the documentation where it says something about stopping and starting the server again, I'd be fine with giving it a stab :) |
Simplest is just to kill the server, And we |
If it restarts on it's own, I guess we could add a command to send a kill signal to hie via VSCode? I can look into a PR if it's worth investigating further :) |
the ability to restart the HIE would help when the diagnostics are not updated automatically. perhaps simpler but still very helpful would be a way to see which |
👍 for this. I would like restart feature especially in cases when I add new stack packages and HIE isn't able to update its internal definition. A restart would solve this for now. |
@Swoorup Could you use the general command "Reload Window" (by default bint to |
@jneira Can confirm that works as a workaround. Will use that for now. Just an FYI, there are other LanguageServer that has this feature as well. |
Due to some reason (probably all the way down in the GHC API) pretty much every Haskell IDE tool consumes a ton of memory and the amount usually increases with use. I currently solve this by monitoring memory usage and restarting VS Code when I see it's taking up too much. The problem is that this kills terminal sessions in the editor.
I'd like to be able to restart just the hie backend.
The text was updated successfully, but these errors were encountered: