Skip to content

"Loading" when run through remote ssh #330

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

Open
biuld opened this issue Dec 10, 2020 · 3 comments
Open

"Loading" when run through remote ssh #330

biuld opened this issue Dec 10, 2020 · 3 comments
Labels
type: bug A bug or unintended effect

Comments

@biuld
Copy link

biuld commented Dec 10, 2020

截屏2020-12-10 下午6 08 39
As you may see, features like hovering over a variable is not working correctly.

I was actually running code-server on my Ubuntu 18.04 VPS, but the same happened when I ran it through remote ssh (They share one thing in common, which is the lsp is runing on a remote server). Maybe part of this is because network status. However on the same server, same network,I try rust plugin with lsp, all of its feature perfectly worked. Is it beacuse Haskell's gc nature, so the lsp responseness is not as good as rust?

@jneira jneira added the type: bug A bug or unintended effect label Dec 10, 2020
@MaximVasin
Copy link

I have observed the same behaviour on a signle core Ubuntu 20.10 HyperV VM. It disappered when I have changed to 2-core VM.
Also if I ran haskell-language-server from command line without --lsp option it got stuck on step 4, like in the case described in haskell/haskell-language-server#573.

@ndmitchell
Copy link

@biuld - any change you were also using a single core machine? We might have deadlocks when we ask for only one thread (which could probably be solved by asking for a minimum of 2 threads). It's unlikely to be the GC nature of Haskell - as someone who develops both Rust and Haskell, the Haskell IDE feels snappier to me :)

@biuld
Copy link
Author

biuld commented Jan 12, 2021

@ndmitchell Yes, mine is also a sigle core machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A bug or unintended effect
Projects
None yet
Development

No branches or pull requests

4 participants