Skip to content

HLS fails to load with "Invalid option: `--stdio'" #852

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

Closed
edsko opened this issue Apr 10, 2023 · 5 comments · Fixed by #853
Closed

HLS fails to load with "Invalid option: `--stdio'" #852

edsko opened this issue Apr 10, 2023 · 5 comments · Fixed by #853

Comments

@edsko
Copy link

edsko commented Apr 10, 2023

The vscode integration was working just fine until this morning; so I think the latest update to the vscode extension broke it. (Can't be 100% sure, but I think that's the only thing that is changed).

Your environment

Ubuntu, vscode 1.77.1, HLS 1.10 (also tried with 1.9, same thing), vscode HLS extension of 4/10/2023.

Steps to reproduce

Open any Haskell project, wait for vscode to try and load HLS

Expected behaviour

HLS loads.

Actual behaviour

Error:

2023-04-10 12:00:46.3770000 [client] INFO Starting language server
Invalid option `--stdio'

Include debug information

haskell-language-server-wrapper --debug works just fine; it seems to be the invocation of HLS that goes wrong.

@MatthijsBlom
Copy link

I think the latest update to the vscode extension broke it.

I just ran into exactly the same issue, and reverting to the previous extension version fixes it.

@kands-code
Copy link

Same here, but downgrading the plugin version (2.2.3 -> 2.2.2) can fix it.

Your environment

  • Arch Linux
  • GHC-9.4.4
  • Stack-2.9.3
  • Cabal-3.10.1.0
  • HLS-1.10.0.0
  • vscode-haskell-2.2.3

Steps to reproduce

Just open a Haskell project, then you can find this info in the log.

Expected behaviour

HLS work normally.

Actual behaviour

The client cannot connect to the HLS.

image

Include debug information

Debug output:
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.10.0.0 x86_64 ghc-8.10.7
Current directory: /home/kands/workspace/dev/hsplay
Operating system: linux
Arguments: ["--debug"]
Cradle directory: /home/kands/workspace/dev/hsplay
Cradle type: Stack

Tool versions found on the $PATH
cabal:          3.10.1.0
stack:          2.9.3
ghc:            9.4.4


Consulting the cradle to get project GHC version...
2023-04-10T12:19:13.196547Z | Debug | executing command: stack setup --silent
2023-04-10T12:19:13.911401Z | Debug | executing command: stack exec ghc -- --numeric-version
Project GHC version: 9.4.4
haskell-language-server exe candidates: ["haskell-language-server-9.4.4","haskell-language-server"]
Launching haskell-language-server exe at:/home/kands/.local/bin/haskell-language-server-9.4.4
2023-04-10T12:19:14.261573Z | Debug | executing command: stack setup --silent
2023-04-10T12:19:14.998668Z | Debug | executing command: stack exec ghc -- -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-04-10T12:19:15.414729Z | Debug | executing command: stack setup --silent
2023-04-10T12:19:16.089932Z | Debug | executing command: stack exec ghc -- --print-libdir
2023-04-10T12:19:17.870963Z | Info | No log file specified; using stderr.
2023-04-10T12:19:17.871510Z | Info | haskell-language-server version: 1.10.0.0 (GHC: 9.4.4) (PATH: /home/kands/.local/share/ghcup/hls/1.10.0.0/lib/haskell-language-server-1.10.0.0/bin/haskell-language-server-9.4.4)
2023-04-10T12:19:17.872253Z | Info | Directory: /home/kands/workspace/dev/hsplay
2023-04-10T12:19:17.872724Z | Info | Logging heap statistics every 60.00s
 ghcide setup tester in /home/kands/workspace/dev/hsplay.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /home/kands/workspace/dev/hsplay
Found 2 files

Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
  ()

Step 3/4: Initializing the IDE
2023-04-10T12:19:17.876286Z | Debug | Initializing exports map from hiedb
2023-04-10T12:19:17.876743Z | Debug | Shake session initialized

2023-04-10T12:19:17.877544Z | Debug | Done initializing exports map from hiedb. Size: 2
Step 4/4: Type checking the files
2023-04-10T12:19:17.878731Z | Info | Cradle path: src/Play.hs
2023-04-10T12:19:17.878908Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Play.hs.
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
2023-04-10T12:19:17.882939Z | Debug | Cradle: Cradle {cradleRootDir = "/home/kands/workspace/dev/hsplay", cradleOptsProg = CradleAction: Stack}
2023-04-10T12:19:17.883151Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2023-04-10T12:19:17.883566Z | Debug | executing command: stack repl --no-nix-pure --with-ghc /home/kands/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 hsplay:lib
2023-04-10T12:19:18.663043Z | Debug | Configuring GHCi with the following packages: hsplay
2023-04-10T12:19:18.724761Z | Debug | executing command: stack path --ghc-package-path
2023-04-10T12:19:19.300419Z | Debug | /home/kands/workspace/dev/hsplay/.stack-work/install/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb:/home/kands/.local/share/stack/snapshots/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb:/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib/package.conf.d
2023-04-10T12:19:19.310949Z | Debug | executing command: stack setup --silent
2023-04-10T12:19:20.006208Z | Debug | executing command: stack exec ghc -- --print-libdir
2023-04-10T12:19:20.353333Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/kands/workspace/dev/hsplay/.stack-work/odir","-hidir=/home/kands/workspace/dev/hsplay/.stack-work/odir","-hide-all-packages","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build","-i/home/kands/workspace/dev/hsplay/src","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/autogen","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/global-autogen","-stubdir=/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build","-package-id=base-4.17.0.0","-Wall","-optP-include","-optP/home/kands/workspace/dev/hsplay/.stack-work/ghci/dfe8671a/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/f5b30fd0/ghci-script","-package-db","/home/kands/workspace/dev/hsplay/.stack-work/install/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb","-package-db","/home/kands/.local/share/stack/snapshots/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb","-package-db","/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib/package.conf.d"], componentRoot = "/home/kands/workspace/dev/hsplay", componentDependencies = ["hsplay.cabal","package.yaml","stack.yaml"]},"/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib")
2023-04-10T12:19:20.395406Z | Info | Interface files cache directory: /home/kands/.cache/ghcide/main-92ab4d06d679772ddfa0325e100dea79b6d758e6
2023-04-10T12:19:20.395759Z | Info | Making new HscEnv. In-place unit ids: [main]
2023-04-10T12:19:20.409989Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 4),fromList [("hsplay.cabal",Just 2023-04-02 12:00:55.727994643 UTC),("package.yaml",Nothing),("stack.yaml",Just 2023-04-02 11:57:26.662789399 UTC)])
2023-04-10T12:19:20.412801Z | Debug | Known files updated:
  fromList [(TargetFile NormalizedFilePath "/home/kands/workspace/dev/hsplay/src/Play.hs",fromList ["/home/kands/workspace/dev/hsplay/src/Play.hs"]),(TargetModule (ModuleName "Play"),fromList ["/home/kands/workspace/dev/hsplay/src/Play.hs"])]
2023-04-10T12:19:20.413331Z | Debug | Finished build session
AsyncCancelled
2023-04-10T12:19:20.413469Z | Debug | Restarting build session due to new component
Action Queue: [User TypeCheck]
Keys: [GhcSessionIO; , GetKnownTargets; ]
Aborting previous build session took 0.00s 
2023-04-10T12:19:20.414495Z | Debug | hlint: Getting hlint ideas for  NormalizedFilePath "/home/kands/workspace/dev/hsplay/app/Main.hs"
2023-04-10T12:19:20.414772Z | Debug | hlint: Getting hlint ideas for  NormalizedFilePath "/home/kands/workspace/dev/hsplay/src/Play.hs"
2023-04-10T12:19:20.488360Z | Info | Cradle path: app/Main.hs
2023-04-10T12:19:20.488524Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for app/Main.hs.
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
2023-04-10T12:19:20.490099Z | Debug | Cradle: Cradle {cradleRootDir = "/home/kands/workspace/dev/hsplay", cradleOptsProg = CradleAction: Stack}
2023-04-10T12:19:20.490204Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2023-04-10T12:19:20.490347Z | Debug | executing command: stack repl --no-nix-pure --with-ghc /home/kands/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 hsplay:exe:hsplay
2023-04-10T12:19:20.713194Z | Debug | hlint: Using extensions for  NormalizedFilePath "/home/kands/workspace/dev/hsplay/src/Play.hs": [ MonomorphismRestriction
                                                                                                , RelaxedPolyRec
                                                                                                , ForeignFunctionInterface
                                                                                                , ImplicitPrelude
                                                                                                , ScopedTypeVariables
                                                                                                , BangPatterns
                                                                                                , NamedFieldPuns
                                                                                                , GADTSyntax
                                                                                                , DoAndIfThenElse
                                                                                                , ConstraintKinds
                                                                                                , PolyKinds
                                                                                                , InstanceSigs
                                                                                                , StandaloneDeriving
                                                                                                , DeriveDataTypeable
                                                                                                , DeriveFunctor
                                                                                                , DeriveTraversable
                                                                                                , DeriveFoldable
                                                                                                , DeriveGeneric
                                                                                                , DeriveLift
                                                                                                , TypeSynonymInstances
                                                                                                , FlexibleContexts
                                                                                                , FlexibleInstances
                                                                                                , ConstrainedClassMethods
                                                                                                , MultiParamTypeClasses
                                                                                                , ExistentialQuantification
                                                                                                , EmptyDataDecls
                                                                                                , KindSignatures
                                                                                                , GeneralizedNewtypeDeriving
                                                                                                , PostfixOperators
                                                                                                , TupleSections
                                                                                                , PatternGuards
                                                                                                , RankNTypes
                                                                                                , TypeOperators
                                                                                                , ExplicitForAll
                                                                                                , TraditionalRecordSyntax
                                                                                                , BinaryLiterals
                                                                                                , HexFloatLiterals
                                                                                                , EmptyCase
                                                                                                , NamedWildCards
                                                                                                , TypeApplications
                                                                                                , EmptyDataDeriving
                                                                                                , NumericUnderscores
                                                                                                , StarIsType
                                                                                                , ImportQualifiedPost
                                                                                                , StandaloneKindSignatures
                                                                                                , FieldSelectors ]
2023-04-10T12:19:20.957185Z | Debug | Using main module: 1. Package `hsplay' component hsplay:exe:hsplay with main-is file: /home/kands/workspace/dev/hsplay/app/Main.hs
2023-04-10T12:19:21.277865Z | Debug | Configuring GHCi with the following packages: hsplay
2023-04-10T12:19:21.349937Z | Debug | executing command: stack path --ghc-package-path
2023-04-10T12:19:21.922091Z | Debug | /home/kands/workspace/dev/hsplay/.stack-work/install/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb:/home/kands/.local/share/stack/snapshots/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb:/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib/package.conf.d
2023-04-10T12:19:21.935188Z | Debug | executing command: stack setup --silent
2023-04-10T12:19:22.679859Z | Debug | executing command: stack exec ghc -- --print-libdir
2023-04-10T12:19:23.004457Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/kands/workspace/dev/hsplay/.stack-work/odir","-hidir=/home/kands/workspace/dev/hsplay/.stack-work/odir","-hide-all-packages","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/hsplay","-i/home/kands/workspace/dev/hsplay/app","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/hsplay/autogen","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/global-autogen","-i/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build/hsplay/hsplay-tmp","-stubdir=/home/kands/workspace/dev/hsplay/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/build","-package-id=base-4.17.0.0","-package-id=hsplay-0.0.1.0-L2i7ZwitorjDgwMbXYp0g2","-Wall","-optP-include","-optP/home/kands/workspace/dev/hsplay/.stack-work/ghci/c2bdf29a/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/c20c4daa/ghci-script","-package-db","/home/kands/workspace/dev/hsplay/.stack-work/install/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb","-package-db","/home/kands/.local/share/stack/snapshots/x86_64-linux-tinfo6/886f4081e395580de7dce93e001e8d397a93c0cf8fc8b109d6cc64680325ca9f/9.4.4/pkgdb","-package-db","/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib/package.conf.d"], componentRoot = "/home/kands/workspace/dev/hsplay", componentDependencies = ["hsplay.cabal","package.yaml","stack.yaml"]},"/home/kands/.local/share/stack/programs/x86_64-linux/ghc-tinfo6-9.4.4/lib/ghc-9.4.4/lib")
2023-04-10T12:19:23.038281Z | Info | Interface files cache directory: /home/kands/.cache/ghcide/main-0789d56c261d0797d0f5c6f7b39c07e74afb2998
2023-04-10T12:19:23.038537Z | Info | Interface files cache directory: /home/kands/.cache/ghcide/main-0789d56c261d0797d0f5c6f7b39c07e74afb2998
2023-04-10T12:19:23.038597Z | Info | Making new HscEnv. In-place unit ids: [main, main]
2023-04-10T12:19:23.045876Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 7),fromList [("hsplay.cabal",Just 2023-04-02 12:00:55.727994643 UTC),("package.yaml",Nothing),("stack.yaml",Just 2023-04-02 11:57:26.662789399 UTC)])
2023-04-10T12:19:23.049348Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 8),fromList [("hsplay.cabal",Just 2023-04-02 12:00:55.727994643 UTC),("package.yaml",Nothing),("stack.yaml",Just 2023-04-02 11:57:26.662789399 UTC)])
2023-04-10T12:19:23.050069Z | Debug | Known files updated:
  fromList [(TargetFile NormalizedFilePath "/home/kands/workspace/dev/hsplay/src/Play.hs",fromList ["/home/kands/workspace/dev/hsplay/src/Play.hs"]),(TargetModule (ModuleName "Play"),fromList ["/home/kands/workspace/dev/hsplay/src/Play.hs"]),(TargetFile NormalizedFilePath "/home/kands/workspace/dev/hsplay/app/Main.hs",fromList ["/home/kands/workspace/dev/hsplay/app/Main.hs"])]
2023-04-10T12:19:23.050424Z | Debug | Finished build session
AsyncCancelled
2023-04-10T12:19:23.050493Z | Debug | Restarting build session due to new component
Action Queue: [User TypeCheck]
Keys: [GhcSessionIO; , GetKnownTargets; ]
Aborting previous build session took 0.00s 
2023-04-10T12:19:23.050868Z | Debug | hlint: Getting hlint ideas for  NormalizedFilePath "/home/kands/workspace/dev/hsplay/app/Main.hs"
2023-04-10T12:19:23.053289Z | Debug | hlint: Using extensions for  NormalizedFilePath "/home/kands/workspace/dev/hsplay/app/Main.hs": [ MonomorphismRestriction
                                                                                                , RelaxedPolyRec
                                                                                                , ForeignFunctionInterface
                                                                                                , ImplicitPrelude
                                                                                                , ScopedTypeVariables
                                                                                                , BangPatterns
                                                                                                , NamedFieldPuns
                                                                                                , GADTSyntax
                                                                                                , DoAndIfThenElse
                                                                                                , ConstraintKinds
                                                                                                , PolyKinds
                                                                                                , InstanceSigs
                                                                                                , StandaloneDeriving
                                                                                                , DeriveDataTypeable
                                                                                                , DeriveFunctor
                                                                                                , DeriveTraversable
                                                                                                , DeriveFoldable
                                                                                                , DeriveGeneric
                                                                                                , DeriveLift
                                                                                                , TypeSynonymInstances
                                                                                                , FlexibleContexts
                                                                                                , FlexibleInstances
                                                                                                , ConstrainedClassMethods
                                                                                                , MultiParamTypeClasses
                                                                                                , ExistentialQuantification
                                                                                                , EmptyDataDecls
                                                                                                , KindSignatures
                                                                                                , GeneralizedNewtypeDeriving
                                                                                                , PostfixOperators
                                                                                                , TupleSections
                                                                                                , PatternGuards
                                                                                                , RankNTypes
                                                                                                , TypeOperators
                                                                                                , ExplicitForAll
                                                                                                , TraditionalRecordSyntax
                                                                                                , BinaryLiterals
                                                                                                , HexFloatLiterals
                                                                                                , EmptyCase
                                                                                                , NamedWildCards
                                                                                                , TypeApplications
                                                                                                , EmptyDataDeriving
                                                                                                , NumericUnderscores
                                                                                                , StarIsType
                                                                                                , ImportQualifiedPost
                                                                                                , StandaloneKindSignatures
                                                                                                , FieldSelectors ]
2023-04-10T12:19:23.071098Z | Debug | Finished: User TypeCheck Took: 0.02s
2023-04-10T12:19:23.082544Z | Debug | Finished: GetHie Took: 0.01s
2023-04-10T12:19:23.083503Z | Debug | Finished: GenerateCore Took: 0.00s

Completed (2 files worked, 0 files failed)
Extension log:
2023-04-10 12:22:16.3740000 [client] DEBUG Environment variables:
2023-04-10 12:22:16.3750000 [client] DEBUG   PATH: /home/kands/.cabal/bin:/home/kands/.local/bin:/home/kands/.dotnet/tools:/home/kands/.local/share/npm/bin:/home/kands/.local/share/cabal/bin:/home/kands/.local/share/cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/home/kands/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2023-04-10 12:22:16.3750000 [client] INFO Finding haskell-language-server
2023-04-10 12:22:16.3760000 [client] INFO Searching for server executables haskell-language-server-wrapper,haskell-language-server in $PATH
2023-04-10 12:22:16.3760000 [client] INFO $PATH environment variable: /home/kands/.cabal/bin:/home/kands/.local/bin:/home/kands/.dotnet/tools:/home/kands/.local/share/npm/bin:/home/kands/.local/share/cabal/bin:/home/kands/.local/share/cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/home/kands/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2023-04-10 12:22:16.3840000 [client] INFO Found server executable in $PATH: haskell-language-server-wrapper
2023-04-10 12:22:16.3840000 [client] INFO Activating the language server in working dir: /home/kands/workspace/dev/hsplay (the workspace folder)
2023-04-10 12:22:16.3850000 [client] INFO run command: haskell-language-server-wrapper --lsp
2023-04-10 12:22:16.3850000 [client] INFO debug command: haskell-language-server-wrapper --lsp
2023-04-10 12:22:16.3850000 [client] INFO server environment variables:
2023-04-10 12:22:16.3850000 [client] DEBUG document selector patten: /home/kands/workspace/dev/hsplay/**/*
2023-04-10 12:22:16.3900000 [client] INFO Starting language server
[Trace - 20:22:16] Sending request 'initialize - (0)'.
Params: {
    "processId": 18120,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.77.1"
    },
    "locale": "zh-cn",
    "rootPath": "/home/kands/workspace/dev/hsplay",
    "rootUri": "file:///home/kands/workspace/dev/hsplay",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///home/kands/workspace/dev/hsplay",
            "name": "hsplay"
        }
    ]
}


Invalid option `--stdio'

Usage: haskell-language-server-wrapper [--version | --numeric-version | 
                                         --probe-tools | COMMAND | 
                                         --list-plugins | --print-cradle | 
                                         [COMMAND | --lsp | FILES/DIRS...] 
                                         [--cwd DIR] [--shake-profiling DIR] 
                                         [--test] [--example] [-d|--debug] 
                                         [-l|--logfile LOGFILE] [-j NUM] 
                                         [--project-ghc-version] |
                                         --print-libdir]
  Used as a test bed to check your IDE Client will work
[Error - 20:22:16] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 20:22:16] Connection to server got closed. Server will restart.
true
[Error - 20:22:16] Haskell (hsplay) client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Trace - 20:22:16] Sending request 'initialize - (0)'.
Params: {
    "processId": 18120,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.77.1"
    },
    "locale": "zh-cn",
    "rootPath": "/home/kands/workspace/dev/hsplay",
    "rootUri": "file:///home/kands/workspace/dev/hsplay",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///home/kands/workspace/dev/hsplay",
            "name": "hsplay"
        }
    ]
}


Invalid option `--stdio'

Usage: haskell-language-server-wrapper [--version | --numeric-version | 
                                         --probe-tools | COMMAND | 
                                         --list-plugins | --print-cradle | 
                                         [COMMAND | --lsp | FILES/DIRS...] 
                                         [--cwd DIR] [--shake-profiling DIR] 
                                         [--test] [--example] [-d|--debug] 
                                         [-l|--logfile LOGFILE] [-j NUM] 
                                         [--project-ghc-version] |
                                         --print-libdir]
  Used as a test bed to check your IDE Client will work
[Error - 20:22:16] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 20:22:16] Connection to server got closed. Server will restart.
true
[Error - 20:22:16] Haskell (hsplay) client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Trace - 20:22:16] Sending request 'initialize - (0)'.
Params: {
    "processId": 18120,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.77.1"
    },
    "locale": "zh-cn",
    "rootPath": "/home/kands/workspace/dev/hsplay",
    "rootUri": "file:///home/kands/workspace/dev/hsplay",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///home/kands/workspace/dev/hsplay",
            "name": "hsplay"
        }
    ]
}


Invalid option `--stdio'

Usage: haskell-language-server-wrapper [--version | --numeric-version | 
                                         --probe-tools | COMMAND | 
                                         --list-plugins | --print-cradle | 
                                         [COMMAND | --lsp | FILES/DIRS...] 
                                         [--cwd DIR] [--shake-profiling DIR] 
                                         [--test] [--example] [-d|--debug] 
                                         [-l|--logfile LOGFILE] [-j NUM] 
                                         [--project-ghc-version] |
                                         --print-libdir]
  Used as a test bed to check your IDE Client will work
[Error - 20:22:16] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 20:22:16] Connection to server got closed. Server will restart.
true
[Error - 20:22:16] Haskell (hsplay) client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 20:22:16] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Trace - 20:22:16] Sending request 'initialize - (0)'.
Params: {
    "processId": 18120,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.77.1"
    },
    "locale": "zh-cn",
    "rootPath": "/home/kands/workspace/dev/hsplay",
    "rootUri": "file:///home/kands/workspace/dev/hsplay",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///home/kands/workspace/dev/hsplay",
            "name": "hsplay"
        }
    ]
}


Invalid option `--stdio'

Usage: haskell-language-server-wrapper [--version | --numeric-version | 
                                         --probe-tools | COMMAND | 
                                         --list-plugins | --print-cradle | 
                                         [COMMAND | --lsp | FILES/DIRS...] 
                                         [--cwd DIR] [--shake-profiling DIR] 
                                         [--test] [--example] [-d|--debug] 
                                         [-l|--logfile LOGFILE] [-j NUM] 
                                         [--project-ghc-version] |
                                         --print-libdir]
  Used as a test bed to check your IDE Client will work
[Error - 20:22:16] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 20:22:16] Connection to server got closed. Server will restart.
true
[Error - 20:22:16] Haskell (hsplay) client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 20:22:16] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Trace - 20:22:16] Sending request 'initialize - (0)'.
Params: {
    "processId": 18120,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.77.1"
    },
    "locale": "zh-cn",
    "rootPath": "/home/kands/workspace/dev/hsplay",
    "rootUri": "file:///home/kands/workspace/dev/hsplay",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///home/kands/workspace/dev/hsplay",
            "name": "hsplay"
        }
    ]
}


Invalid option `--stdio'

Usage: haskell-language-server-wrapper [--version | --numeric-version | 
                                         --probe-tools | COMMAND | 
                                         --list-plugins | --print-cradle | 
                                         [COMMAND | --lsp | FILES/DIRS...] 
                                         [--cwd DIR] [--shake-profiling DIR] 
                                         [--test] [--example] [-d|--debug] 
                                         [-l|--logfile LOGFILE] [-j NUM] 
                                         [--project-ghc-version] |
                                         --print-libdir]
  Used as a test bed to check your IDE Client will work
[Error - 20:22:16] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 20:22:16] The Haskell (hsplay) server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 20:22:16] Haskell (hsplay) client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 20:22:16] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

@fendor
Copy link
Collaborator

fendor commented Apr 10, 2023

Sorry for the breakage, looking into it.

@fendor
Copy link
Collaborator

fendor commented Apr 10, 2023

It ought to be fixed now, can anyone confirm?

@MatthijsBlom
Copy link

Yup, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants