Skip to content

HLS version 0.8.0 frequently stuck when saving files #1214

Closed
@poscat0x04

Description

@poscat0x04

Your environment

Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:

haskell-language-server version: 0.8.0.0 (GHC: 8.10.3) (PATH: /nix/store/px0cwk7xl79yq4b1pvkwaxfkwaswhis1-haskell-language-server-0.8.0.0/bin/haskell-language-server)
Tool versions found on the $PATH
cabal:		3.2.0.0
stack:		Not found
ghc:		8.10.3

Which lsp-client do you use:
vscode
Describe your project (alternative: link to the project):
cabal project
Contents of hie.yaml:
implicit hie

Steps to reproduce

I'm not sure how to reproduce this issue reliably, but it seems that this issue comes up a lot more frequently when I'm editing a file that has errors (type errors/parse errors, etc.) in it.

Expected behaviour

HLS should not stuck

Include debug information

Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:

Debug output:
<paste your logs here>

Paste the logs from the lsp-client, e.g. for VS Code

LSP logs:
<paste your logs here>

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions