haskell / vscode-haskell

VS Code extension for Haskell, powered by haskell-language-server
https://marketplace.visualstudio.com/items?itemName=haskell.haskell
Other
561 stars 90 forks source link

Changes to cabal file is lost when saving using default formatter haskell.haskell and formatOnSave=true #945

Closed konnik closed 1 year ago

konnik commented 1 year ago

I don't know if this is an issue with the VSCode extension or HLS?

Your environment

Ubuntu VSCode Haskell extension v2.5.0 (pre-release) HLS 2.1.0.0 (GHC: 9.6.2)

VSCode configured with:

Tool versions found on the $PATH cabal: 3.10.1.0 stack: 2.11.1 ghc: 9.6.2

Steps to reproduce

Open cabal file in vscode and make some changes followed by CTRL-S

Expected behaviour

The cabal file should be formatted with changes persisted.

Actual behaviour

All changes are lost and the file is saved.

Include debug information

$  haskell-language-server-wrapper --debug
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.1.0.0 x86_64 ghc-8.10.7
Current directory: /xyz
Operating system: linux
Arguments: ["--debug"]
Cradle directory: /xyz
Cradle type: Cabal

Tool versions found on the $PATH
cabal:          3.10.1.0
stack:          2.11.1
ghc:            9.6.2

Consulting the cradle to get project GHC version...
2023-08-25T14:06:50.554575Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:06:51.575066Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:51.667382Z | Debug | executing command: cabal --builddir=/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64 v2-exec --with-compiler /home/korv/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/korv/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --numeric-version
Project GHC version: 9.6.2
haskell-language-server exe candidates: ["haskell-language-server-9.6.2","haskell-language-server"]
Launching haskell-language-server exe at:/home/korv/.ghcup/bin/haskell-language-server-9.6.2
2023-08-25T14:06:51.861966Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:06:51.914646Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:52.007180Z | Debug | executing command: cabal --builddir=/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64 v2-exec --with-compiler /home/korv/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/korv/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:52.110502Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:06:52.163058Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:52.245400Z | Debug | executing command: cabal --builddir=/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64 v2-exec --with-compiler /home/korv/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/korv/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --print-libdir
2023-08-25T14:06:53.467157Z | Info | haskell-language-server version: 2.1.0.0 (GHC: 9.6.2) (PATH: /home/korv/.ghcup/hls/2.1.0.0/lib/haskell-language-server-2.1.0.0/bin/haskell-language-server-9.6.2)
2023-08-25T14:06:53.467734Z | Info | Directory: /xyz
2023-08-25T14:06:53.467921Z | Info | Logging heap statistics every 60.00s
 ghcide setup tester in /xyz.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /xyz
Found 2 files

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

Step 3/4: Initializing the IDE
2023-08-25T14:06:53.470464Z | Debug | Initializing exports map from hiedb
2023-08-25T14:06:53.470788Z | Debug | Shake session initialized

Step 4/42023-08-25T14:06:53.471048Z | Debug | Done initializing exports map from hiedb. Size: 3
: Type checking the files
2023-08-25T14:06:53.471797Z | Info | Cradle path: app/Main.hs
2023-08-25T14:06:53.471871Z | 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-08-25T14:06:53.474803Z | Debug | Cradle: Cradle {cradleRootDir = "/xyz", cradleOptsProg = CradleAction: Cabal}
2023-08-25T14:06:53.474857Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2023-08-25T14:06:53.475031Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:06:53.527595Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:53.630495Z | Debug | executing command: cabal --builddir=/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64 v2-repl --with-compiler /home/korv/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/korv/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be korv-haskell-backend:exe:korv-haskell-backend
2023-08-25T14:06:53.645724Z | Debug | Build profile: -w ghc-9.6.2 -O1
2023-08-25T14:06:53.645820Z | Debug | In order, the following will be built (use -v for more details):
2023-08-25T14:06:53.645864Z | Debug |  - korv-haskell-backend-0.1.0.0 (exe:korv-haskell-backend) (first run)
2023-08-25T14:06:53.682502Z | Debug | Preprocessing executable 'korv-haskell-backend' for korv-haskell-backend-0.1.0.0..
2023-08-25T14:06:53.705151Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:06:53.758834Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:06:53.861346Z | Debug | executing command: cabal --builddir=/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64 v2-exec --with-compiler /home/korv/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/korv/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --print-libdir
2023-08-25T14:06:53.913725Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-odir","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-hidir","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-stubdir","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-i","-i/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-iapp","-i/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/autogen","-i/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/global-autogen","-I/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/autogen","-I/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/global-autogen","-I/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/korv-haskell-backend-tmp","-optP-include","-optP/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/build/korv-haskell-backend/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/korv/.cabal/store/ghc-9.6.2/package.db","-package-db","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/packagedb/ghc-9.6.2","-package-db","/home/korv/.cache/hie-bios/dist-korv-haskell-backend-caeb3c3869eb6ff57d29ef82a4b7ed64/build/x86_64-linux/ghc-9.6.2/korv-haskell-backend-0.1.0.0/x/korv-haskell-backend/package.conf.inplace","-package-id","base-4.18.0.0","-XGHC2021","app/Main.hs","Apa","-Wall","-hide-all-packages"], componentRoot = "/xyz", componentDependencies = ["korv-haskell-backend.cabal","cabal.project","cabal.project.local"]},"/home/korv/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib")
2023-08-25T14:06:53.944705Z | Info | Interface files cache directory: /home/korv/.cache/ghcide/main-4749d05677fa81583fbd1f3201ff6944765f77bd-4749d05677fa81583fbd1f3201ff6944765f77bd
2023-08-25T14:06:53.944789Z | Info | Making new HscEnv. In-place unit ids: [ main-4749d05677fa81583fbd1f3201ff6944765f77bd ]
2023-08-25T14:06:53.959310Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 4),fromList [("cabal.project",Nothing),("cabal.project.local",Nothing),("korv-haskell-backend.cabal",Just 2023-08-25 14:01:56.775270182 UTC)])
2023-08-25T14:06:53.960900Z | Debug | Known files updated:
  fromList [(TargetFile NormalizedFilePath "/xyz/app/Main.hs",fromList ["/xyz/app/Main.hs"]),(TargetModule (ModuleName "Apa"),fromList ["/xyz/app/Apa.hs"])]
2023-08-25T14:06:53.961181Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:06:53.961235Z | Debug | Restarting build session due to new component
Action Queue: [User TypeCheck]
Keys: [GhcSessionIO; , GetKnownTargets; ]
Aborting previous build session took 0.00s 
2023-08-25T14:06:53.961599Z | Debug | hlint: Getting hlint ideas for  NormalizedFilePath "/xyz/app/Apa.hs"
2023-08-25T14:06:53.965558Z | Debug | hlint: Getting hlint ideas for  NormalizedFilePath "/xyz/app/Main.hs"
2023-08-25T14:06:54.123891Z | Debug | hlint: Using extensions for  NormalizedFilePath "/xyz/app/Apa.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-08-25T14:06:54.124111Z | Debug | hlint: Using extensions for  NormalizedFilePath "/xyz/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-08-25T14:06:54.151760Z | Debug | Finished: User TypeCheck Took: 0.19s
2023-08-25T14:06:54.153570Z | Debug | Finished: GetHie Took: 0.00s

Completed (2 files worked, 0 files f2023-08-25T14:06:54.153818Z | Debug | Finished: GenerateCore Took: 0.00s
fendor commented 1 year ago

Hi, thank you for your bug report!

That's very weird, we use cabal-fmt to format your .cabal file, can you perhaps make sure on the cli, cabal-fmt doesn't eat your file?

The provided logs aren't helpful for this scenario, please follow the instructions here https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems

konnik commented 1 year ago

Ok, after some more investigation I have found that I can reproduce the error by even though formatOnSave is false:

  1. Edit the cabal file (do not save)
  2. Ctrl + Shift + I (Format document)

The changes are lost!!!

It seems that the formatting is done on the unchanged file in the file system and then the result is copied to the editor effectively undoing the changes.

[Trace - 5:08:34 PM] Sending request 'textDocument/formatting - (49)'.
2023-08-25T15:08:34.983113Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 5:08:34 PM] Received response 'textDocument/formatting - (49)' in 18ms.
[Trace - 5:08:34 PM] Sending notification 'textDocument/didChange'.
2023-08-25T15:08:34.994417Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T15:08:34.994661Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T15:08:34.994669Z | Debug | Finished build session
AsyncCancelled
2023-08-25T15:08:34.995103Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 75

Here are the complete logs:

2023-08-25 14:58:01.9060000 [client] DEBUG Environment variables:
2023-08-25 14:58:01.9060000 [client] DEBUG   PATH: /home/nikkon/.sdkman/candidates/maven/current/bin:/home/nikkon/.sdkman/candidates/java/current/bin:/home/nikkon/.sdkman/candidates/gradle/current/bin:/home/nikkon/bin:/home/nikkon/.volta/bin:/home/nikkon/.local/bin:/home/nikkon/.cabal/bin:/home/nikkon/.ghcup/bin:/home/nikkon/.cargo/bin:/home/nikkon/.volta/bin:/home/nikkon/.local/bin:/home/nikkon/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2023-08-25 14:58:01.9060000 [client] INFO Finding haskell-language-server
2023-08-25 14:58:01.9070000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:01.9150000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:01.9160000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.0860000 [client] DEBUG Execution of 'ghcup --no-verbose upgrade' terminated with code 0
2023-08-25 14:58:02.0870000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.0910000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.0920000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.1550000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0
2023-08-25 14:58:02.1580000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.1680000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.1680000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c installed -r' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.2440000 [client] DEBUG Execution of 'ghcup --no-verbose list -t cabal -c installed -r' terminated with code 0
2023-08-25 14:58:02.2450000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.2510000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.2520000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c installed -r' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.3290000 [client] DEBUG Execution of 'ghcup --no-verbose list -t stack -c installed -r' terminated with code 0
2023-08-25 14:58:02.3360000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.3400000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.3410000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.1.0.0' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.3660000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 2.1.0.0' terminated with code 0
2023-08-25 14:58:02.3660000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.3750000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.3760000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.10.1.0' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.4040000 [client] DEBUG Execution of 'ghcup --no-verbose whereis cabal 3.10.1.0' terminated with code 0
2023-08-25 14:58:02.4040000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.4090000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.4100000 [client] INFO Executing 'ghcup --no-verbose whereis stack 2.11.1' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.4260000 [client] DEBUG Execution of 'ghcup --no-verbose whereis stack 2.11.1' terminated with code 0
2023-08-25 14:58:02.4330000 [client] INFO Executing 'ghc --numeric-version' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.4670000 [client] DEBUG Execution of 'ghc --numeric-version' terminated with code 0
2023-08-25 14:58:02.4680000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:02.4730000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:02.4740000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.1.0.0 --cabal 3.10.1.0 --stack 2.11.1 --install' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:02.5290000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 2.1.0.0 --cabal 3.10.1.0 --stack 2.11.1 --install' terminated with code 0
2023-08-25 14:58:02.5290000 [client] INFO Working out the project GHC version. This might take a while...
2023-08-25 14:58:02.5300000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.1370000 [client] DEBUG Execution of 'haskell-language-server-wrapper --project-ghc-version' terminated with code 0
2023-08-25 14:58:04.1370000 [client] INFO The GHC version for the project or file: 9.6.2
2023-08-25 14:58:04.1990000 [client] INFO Platform constants: Linux_UnknownLinux, A_64
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.1.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.2.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.3.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.4.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.10.6,8.10.7,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.5.0 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.5.1 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.6.0.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.6.1.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.7.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.1,9.2.2
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.8.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.3,9.2.4,9.4.1,9.4.2
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.9.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.4.3,9.4.4
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.9.1.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.2.6,9.4.4
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 1.10.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.7,9.4.4,9.6.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 2.0.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.7,9.4.5,9.6.1
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 2.0.0.1 compatible with GHC Versions: 8.10.7,9.0.2,9.2.7,9.2.8,9.4.5,9.6.2
2023-08-25 14:58:04.1990000 [client] DEBUG HLS 2.1.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.8,9.4.5,9.4.6,9.6.2
2023-08-25 14:58:04.1990000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:04.2070000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:04.2080000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.2640000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0
2023-08-25 14:58:04.2640000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:04.2690000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:04.2690000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.2830000 [client] DEBUG Execution of 'ghcup --no-verbose whereis bindir' terminated with code 0
2023-08-25 14:58:04.2860000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:04.2910000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:04.2920000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.1.0.0' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.3080000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 2.1.0.0' terminated with code 0
2023-08-25 14:58:04.3080000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:04.3140000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:04.3140000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 9.6.2' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.3290000 [client] DEBUG Execution of 'ghcup --no-verbose whereis ghc 9.6.2' terminated with code 0
2023-08-25 14:58:04.3290000 [client] INFO Checking for ghcup installation
2023-08-25 14:58:04.3340000 [client] INFO found ghcup at ghcup
2023-08-25 14:58:04.3350000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.1.0.0 --cabal 3.10.1.0 --stack 2.11.1 --ghc 9.6.2 --install' in cwd '/home/nikkon/devel/vscode-hls-debug'
2023-08-25 14:58:04.4110000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 2.1.0.0 --cabal 3.10.1.0 --stack 2.11.1 --ghc 9.6.2 --install' terminated with code 0
2023-08-25 14:58:04.4110000 [client] INFO Activating the language server in working dir: /home/nikkon/devel/vscode-hls-debug (the workspace folder)
2023-08-25 14:58:04.4120000 [client] INFO run command: /home/nikkon/.ghcup/tmp/ghcup-ghc-9.6.2_cabal-3.10.1.0_hls-2.1.0.0_stack-2.11.1/haskell-language-server-wrapper --lsp -d
2023-08-25 14:58:04.4120000 [client] INFO debug command: /home/nikkon/.ghcup/tmp/ghcup-ghc-9.6.2_cabal-3.10.1.0_hls-2.1.0.0_stack-2.11.1/haskell-language-server-wrapper --lsp -d
2023-08-25 14:58:04.4120000 [client] INFO server environment variables:
2023-08-25 14:58:04.4120000 [client] INFO   PATH=/home/nikkon/.ghcup/tmp/ghcup-ghc-9.6.2_cabal-3.10.1.0_hls-2.1.0.0_stack-2.11.1:/home/nikkon/.sdkman/candidates/maven/current/bin:/home/nikkon/.sdkman/candidates/java/current/bin:/home/nikkon/.sdkman/candidates/gradle/current/bin:/home/nikkon/bin:/home/nikkon/.volta/bin:/home/nikkon/.local/bin:/home/nikkon/.cabal/bin:/home/nikkon/.ghcup/bin:/home/nikkon/.cargo/bin:/home/nikkon/.volta/bin:/home/nikkon/.local/bin:/home/nikkon/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2023-08-25 14:58:04.4120000 [client] DEBUG document selector patten: /home/nikkon/devel/vscode-hls-debug/**/*
2023-08-25 14:58:04.4140000 [client] INFO Starting language server
[Trace - 4:58:04 PM] Sending request 'initialize - (0)'.
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.1.0.0 x86_64 ghc-8.10.7
Current directory: /home/nikkon/devel/vscode-hls-debug
Operating system: linux
Arguments: ["--lsp","-d"]
Cradle directory: /home/nikkon/devel/vscode-hls-debug
Cradle type: Cabal

Tool versions found on the $PATH
cabal:          3.10.1.0
stack:          2.11.1
ghc:            9.6.2

Consulting the cradle to get project GHC version...
2023-08-25T14:58:04.480379Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:58:05.621487Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:58:05.704188Z | Debug | executing command: cabal --builddir=/home/nikkon/.cache/hie-bios/dist-vscode-hls-debug-8d4331e04149a217c524ac37ca1cf722 v2-exec --with-compiler /home/nikkon/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/nikkon/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --numeric-version
Project GHC version: 9.6.2
haskell-language-server exe candidates: ["haskell-language-server-9.6.2","haskell-language-server"]
Launching haskell-language-server exe at:/home/nikkon/.ghcup/tmp/ghcup-ghc-9.6.2_cabal-3.10.1.0_hls-2.1.0.0_stack-2.11.1/haskell-language-server-9.6.2
2023-08-25T14:58:05.878339Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:58:05.920458Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:58:06.026018Z | Debug | executing command: cabal --builddir=/home/nikkon/.cache/hie-bios/dist-vscode-hls-debug-8d4331e04149a217c524ac37ca1cf722 v2-exec --with-compiler /home/nikkon/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/nikkon/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:58:06.129387Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:58:06.191943Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:58:06.305023Z | Debug | executing command: cabal --builddir=/home/nikkon/.cache/hie-bios/dist-vscode-hls-debug-8d4331e04149a217c524ac37ca1cf722 v2-exec --with-compiler /home/nikkon/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/nikkon/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --print-libdir
2023-08-25T14:58:07.518405Z | Info | haskell-language-server version: 2.1.0.0 (GHC: 9.6.2) (PATH: /home/nikkon/.ghcup/hls/2.1.0.0/lib/haskell-language-server-2.1.0.0/bin/haskell-language-server-9.6.2)
2023-08-25T14:58:07.519136Z | Info | Directory: /home/nikkon/devel/vscode-hls-debug
2023-08-25T14:58:07.519285Z | Info | Starting (haskell-language-server) LSP server...
  GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsLogLevel = Debug, argsLogFile = Nothing, argsLogStderr = True, argsLogClient = False, argsThreads = 0, argsProjectGhcVersion = False}
  PluginIds: [ pragmas-suggest
             , pragmas-completion
             , retrie
             , ghcide-completions
             , alternateNumberFormat
             , ghcide-code-actions-bindings
             , explicit-fields
             , ghcide-hover-and-symbols
             , ghcide-code-actions-type-signatures
             , fourmolu
             , ghcide-extend-import-action
             , ghcide-code-actions-fill-holes
             , importLens
             , LSPRecorderCallback
             , cabal
             , qualifyImportedNames
             , moduleName
             , splice
             , stylish-haskell
             , changeTypeSignature
             , hlint
             , class
             , ormolu
             , callHierarchy
             , ghcide-type-lenses
             , codeRange
             , cabal-fmt
             , eval
             , rename
             , ghcide-code-actions-imports-exports
             , gadt
             , overloaded-record-dot
             , ghcide-core
             , explicit-fixity
             , pragmas-disable ]
2023-08-25T14:58:07.521444Z | Info | Logging heap statistics every 60.00s
 2023-08-25T14:58:07.524355Z | Info | Starting LSP server...
  If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option!
  PluginIds: [ pragmas-suggest
             , pragmas-completion
             , retrie
             , ghcide-completions
             , alternateNumberFormat
             , ghcide-code-actions-bindings
             , explicit-fields
             , ghcide-hover-and-symbols
             , ghcide-code-actions-type-signatures
             , fourmolu
             , ghcide-extend-import-action
             , ghcide-code-actions-fill-holes
             , importLens
             , LSPRecorderCallback
             , cabal
             , qualifyImportedNames
             , moduleName
             , splice
             , stylish-haskell
             , changeTypeSignature
             , hlint
             , class
             , ormolu
             , callHierarchy
             , ghcide-type-lenses
             , codeRange
             , cabal-fmt
             , eval
             , rename
             , ghcide-code-actions-imports-exports
             , gadt
             , overloaded-record-dot
             , ghcide-core
             , explicit-fixity
             , pragmas-disable ]
2023-08-25T14:58:07.524597Z | Info | Starting server
2023-08-25T14:58:07.525983Z | Info | Started LSP server in 0.00s
2023-08-25T14:58:07.528672Z | Debug | executing command: cabal exec -v0 -- ghc --print-libdir
2023-08-25T14:58:07.571670Z | Debug | executing command: cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-08-25T14:58:07.664757Z | Debug | executing command: cabal --builddir=/home/nikkon/.cache/hie-bios/dist-vscode-hls-debug-8d4331e04149a217c524ac37ca1cf722 v2-exec --with-compiler /home/nikkon/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/nikkon/.cache/hie-bios/ghc-pkg-d0ef7fb9996698a6ab43e1943b6d37be ghc -v0 -- --print-libdir
2023-08-25T14:58:07.721367Z | Debug | Setting initial dynflags...
2023-08-25T14:58:07.721597Z | Debug | shouldRunSubset: True
2023-08-25T14:58:07.721855Z | Debug | Initializing exports map from hiedb
2023-08-25T14:58:07.722276Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 4790663331139057550 "file:///home/nikkon/devel/vscode-hls-debug"], clientSettings = hashed Nothing}
[Trace - 4:58:07 PM] Received response 'initialize - (0)' in 3303ms.
[Trace - 4:58:07 PM] Sending notification 'initialized'.
[Trace - 4:58:07 PM] Sending notification 'workspace/didChangeConfiguration'.
[Trace - 4:58:07 PM] Sending notification 'textDocument/didOpen'.
2023-08-25T14:58:07.725557Z | Debug | Done initializing exports map from hiedb. Size: 0
2023-08-25T14:58:07.733274Z | Debug | Shake session initialized
[Trace - 4:58:07 PM] Received request 'client/registerCapability - (0)'.
[Trace - 4:58:07 PM] Sending response 'client/registerCapability - (0)'. Processing request took 0ms
2023-08-25T14:58:07.734488Z | Debug | Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool False),("formattingProvider",String "fourmolu"),("ghcupExecutablePath",String ""),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("manageHLS",String "GHCup"),("maxCompletions",Number 40.0),("metadataURL",String ""),("openDocumentationInHackage",Bool True),("openSourceInHackage",Bool True),("plugin",Object (fromList [("alternateNumberFormat",Object (fromList [("globalOn",Bool True)])),("cabal",Object (fromList [("completionOn",Bool True),("globalOn",Bool True)])),("callHierarchy",Object (fromList [("globalOn",Bool True)])),("changeTypeSignature",Object (fromList [("globalOn",Bool False)])),("class",Object (fromList [("codeActionsOn",Bool False),("codeLensOn",Bool False)])),("eval",Object (fromList [("config",Object (fromList [("diff",Bool True),("exception",Bool False)])),("globalOn",Bool True)])),("explicit-fields",Object (fromList [("globalOn",Bool True)])),("explicit-fixity",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("config",Object (fromList [("external",Bool False)]))])),("gadt",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-bindings",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-fill-holes",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-imports-exports",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-type-signatures",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)])),("globalOn",Bool True)])),("ghcide-hover-and-symbols",Object (fromList [("hoverOn",Bool True),("symbolsOn",Bool True)])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",String "always")])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool False)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("qualifyImportedNames",Object (fromList [("globalOn",Bool True)])),("refineImports",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("rename",Object (fromList [("config",Object (fromList [("crossModule",Bool True)])),("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True),("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("hoverOn",Bool True)]))])),("promptBeforeDownloads",String "true"),("releasesDownloadStoragePath",String ""),("releasesURL",String ""),("serverEnvironment",Object (fromList [])),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("toolchain",Object (fromList [])),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("upgradeGHCup",Bool True)]))])
2023-08-25T14:58:07.735133Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:07.735170Z | Debug | Restarting build session due to config change
Action Queue: []
Keys: [GetClientSettings; ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:07.735671Z | Debug | cabal: Opened text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:07.735841Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",Modified {firstOpen = True})]
2023-08-25T14:58:07.736077Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:07.736082Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (opened)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:07.736971Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 1
[Trace - 4:58:07 PM] Received request 'window/workDoneProgress/create - (1)'.
[Trace - 4:58:07 PM] Sending response 'window/workDoneProgress/create - (1)'. Processing request took 0ms
[Trace - 4:58:08 PM] Sending request 'textDocument/foldingRange - (1)'.
2023-08-25T14:58:08.041014Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:08 PM] Received response 'textDocument/foldingRange - (1)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:08 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:08 PM] Sending request 'textDocument/codeLens - (2)'.
2023-08-25T14:58:08.111782Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:08 PM] Received response 'textDocument/codeLens - (2)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:08 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:08 PM] Sending request 'textDocument/documentHighlight - (3)'.
2023-08-25T14:58:08.781748Z | Warning | No plugin enabled for SMethod_TextDocumentDocumentHighlight
[Trace - 4:58:08 PM] Received response 'textDocument/documentHighlight - (3)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols (-32601).
[Error - 4:58:08 PM] Request textDocument/documentHighlight failed.
  Message: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols
  Code: -32601 
[Trace - 4:58:09 PM] Sending request 'textDocument/codeAction - (4)'.
[Trace - 4:58:09 PM] Received response 'textDocument/codeAction - (4)' in 3ms.
[Trace - 4:58:26 PM] Sending request 'textDocument/codeLens - (5)'.
2023-08-25T14:58:26.115128Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:26 PM] Received response 'textDocument/codeLens - (5)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:26 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:26 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:26.648479Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:26.648671Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",Modified {firstOpen = False})]
2023-08-25T14:58:26.648790Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:26.648780Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:26.649264Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 2
[Trace - 4:58:26 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 4:58:26 PM] Received request 'window/workDoneProgress/create - (2)'.
[Trace - 4:58:26 PM] Sending response 'window/workDoneProgress/create - (2)'. Processing request took 0ms
[Trace - 4:58:26 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:26.782032Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:26.782339Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:26.782343Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:26.782856Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 3
[Trace - 4:58:26 PM] Received request 'window/workDoneProgress/create - (3)'.
[Trace - 4:58:26 PM] Sending response 'window/workDoneProgress/create - (3)'. Processing request took 0ms
[Trace - 4:58:26 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 4:58:27 PM] Sending request 'textDocument/foldingRange - (6)'.
2023-08-25T14:58:27.085072Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:27 PM] Received response 'textDocument/foldingRange - (6)' in 4ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:27 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:27 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:27.126962Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:27.127364Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:27.127366Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:27.128240Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 4
[Trace - 4:58:27 PM] Received request 'window/workDoneProgress/create - (4)'.
[Trace - 4:58:27 PM] Sending response 'window/workDoneProgress/create - (4)'. Processing request took 0ms
[Trace - 4:58:27 PM] Sending request 'textDocument/foldingRange - (7)'.
2023-08-25T14:58:27.428507Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:27 PM] Received response 'textDocument/foldingRange - (7)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:27 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:27 PM] Sending request 'textDocument/codeLens - (8)'.
2023-08-25T14:58:27.504442Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:27 PM] Received response 'textDocument/codeLens - (8)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:27 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:27 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:27.654804Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:27.655372Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:27.655394Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:27.656920Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 5
[Trace - 4:58:27 PM] Received request 'window/workDoneProgress/create - (5)'.
[Trace - 4:58:27 PM] Sending response 'window/workDoneProgress/create - (5)'. Processing request took 0ms
[Trace - 4:58:27 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:27.891098Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:27.891630Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:27.891672Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:27.892865Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 6
[Trace - 4:58:27 PM] Sending notification 'textDocument/didChange'.
[Trace - 4:58:27 PM] Received request 'window/workDoneProgress/create - (6)'.
[Trace - 4:58:27 PM] Sending response 'window/workDoneProgress/create - (6)'. Processing request took 0ms
2023-08-25T14:58:27.994284Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:27.994747Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:27.994793Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:27.995892Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 7
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (7)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (7)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.105391Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.105964Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.105989Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.107098Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 8
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (8)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (8)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.286203Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.286903Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.286926Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.288251Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 9
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (9)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (9)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.398706Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.399293Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.399330Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.400664Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 10
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (10)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (10)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.534311Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.534750Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.534759Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.535830Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 11
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.549488Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.549947Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.549961Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.550373Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 12
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (11)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (11)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.721727Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.722133Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.722150Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.723017Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 13
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.728924Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.729428Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.729428Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.730046Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 14
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.797376Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.797829Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.797837Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.798658Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 15
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.876991Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.877514Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.877516Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.878770Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 16
[Trace - 4:58:28 PM] Received request 'window/workDoneProgress/create - (12)'.
[Trace - 4:58:28 PM] Sending response 'window/workDoneProgress/create - (12)'. Processing request took 0ms
[Trace - 4:58:28 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:28.997871Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:28.998196Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:28.998215Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:28.998866Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 17
[Trace - 4:58:29 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:29.001763Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:29.001946Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:29.001952Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:29.002265Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 18
[Trace - 4:58:29 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:29.098278Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:29.098945Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:29.099321Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:29.100383Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 19
[Trace - 4:58:29 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:29.105096Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:29.105574Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:29.105586Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:29.106644Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 20
[Trace - 4:58:29 PM] Received request 'window/workDoneProgress/create - (13)'.
[Trace - 4:58:29 PM] Sending response 'window/workDoneProgress/create - (13)'. Processing request took 0ms
[Trace - 4:58:29 PM] Sending request 'textDocument/codeAction - (9)'.
[Trace - 4:58:29 PM] Received response 'textDocument/codeAction - (9)' in 4ms.
[Trace - 4:58:29 PM] Sending request 'textDocument/foldingRange - (10)'.
2023-08-25T14:58:29.405049Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:29 PM] Received response 'textDocument/foldingRange - (10)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:29 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:29 PM] Sending request 'textDocument/codeLens - (11)'.
2023-08-25T14:58:29.481596Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:29 PM] Received response 'textDocument/codeLens - (11)' in 7ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:29 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:31 PM] Sending notification 'textDocument/didSave'.
2023-08-25T14:58:31.979522Z | Debug | cabal: Saved text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:31.979638Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",OnDisk)]
2023-08-25T14:58:31.979743Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (saved)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:31.979745Z | Debug | Finished build session
AsyncCancelled
[Trace - 4:58:32 PM] Received request 'window/workDoneProgress/create - (14)'.
[Trace - 4:58:32 PM] Sending response 'window/workDoneProgress/create - (14)'. Processing request took 0ms
[Trace - 4:58:33 PM] Sending request 'textDocument/formatting - (12)'.
2023-08-25T14:58:33.606868Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 4:58:33 PM] Received response 'textDocument/formatting - (12)' in 17ms.
[Trace - 4:58:33 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:33.616661Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:33.616805Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",Modified {firstOpen = False})]
2023-08-25T14:58:33.616961Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:33.616973Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:33.617425Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 21
[Trace - 4:58:33 PM] Received request 'window/workDoneProgress/create - (15)'.
[Trace - 4:58:33 PM] Sending response 'window/workDoneProgress/create - (15)'. Processing request took 0ms
[Trace - 4:58:33 PM] Sending request 'textDocument/codeAction - (13)'.
[Trace - 4:58:33 PM] Received response 'textDocument/codeAction - (13)' in 14ms.
[Trace - 4:58:33 PM] Sending request 'textDocument/foldingRange - (14)'.
2023-08-25T14:58:33.917107Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:33 PM] Received response 'textDocument/foldingRange - (14)' in 1ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:33 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:33 PM] Sending request 'textDocument/codeLens - (15)'.
2023-08-25T14:58:33.994134Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:33 PM] Received response 'textDocument/codeLens - (15)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:33 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:35 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:35.070810Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:35.071379Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:35.071402Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:35.072451Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 22
[Trace - 4:58:35 PM] Received request 'window/workDoneProgress/create - (16)'.
[Trace - 4:58:35 PM] Sending response 'window/workDoneProgress/create - (16)'. Processing request took 0ms
[Trace - 4:58:35 PM] Sending request 'textDocument/codeAction - (16)'.
[Trace - 4:58:35 PM] Received response 'textDocument/codeAction - (16)' in 4ms.
[Trace - 4:58:35 PM] Sending request 'textDocument/foldingRange - (17)'.
2023-08-25T14:58:35.367764Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:35 PM] Received response 'textDocument/foldingRange - (17)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:35 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:35 PM] Sending request 'textDocument/codeLens - (18)'.
2023-08-25T14:58:35.443190Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:35 PM] Received response 'textDocument/codeLens - (18)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:35 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:38 PM] Sending request 'textDocument/documentHighlight - (19)'.
2023-08-25T14:58:38.814192Z | Warning | No plugin enabled for SMethod_TextDocumentDocumentHighlight
[Trace - 4:58:38 PM] Received response 'textDocument/documentHighlight - (19)' in 1ms. Request failed: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols (-32601).
[Error - 4:58:38 PM] Request textDocument/documentHighlight failed.
  Message: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols
  Code: -32601 
[Trace - 4:58:39 PM] Sending request 'textDocument/codeAction - (20)'.
[Trace - 4:58:39 PM] Received response 'textDocument/codeAction - (20)' in 3ms.
[Trace - 4:58:41 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:41.055106Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:41.055621Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:41.055760Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:41.056647Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 23
[Trace - 4:58:41 PM] Received request 'window/workDoneProgress/create - (17)'.
[Trace - 4:58:41 PM] Sending response 'window/workDoneProgress/create - (17)'. Processing request took 0ms
[Trace - 4:58:41 PM] Sending request 'textDocument/foldingRange - (21)'.
2023-08-25T14:58:41.355062Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:41 PM] Received response 'textDocument/foldingRange - (21)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:41 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:41 PM] Sending request 'textDocument/codeLens - (22)'.
2023-08-25T14:58:41.430475Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:41 PM] Received response 'textDocument/codeLens - (22)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:41 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:42 PM] Sending notification 'textDocument/didSave'.
2023-08-25T14:58:42.643130Z | Debug | cabal: Saved text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:42.643404Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",OnDisk)]
2023-08-25T14:58:42.643693Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:42.643744Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (saved)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
[Trace - 4:58:42 PM] Received request 'window/workDoneProgress/create - (18)'.
[Trace - 4:58:42 PM] Sending response 'window/workDoneProgress/create - (18)'. Processing request took 0ms
[Trace - 4:58:43 PM] Sending request 'textDocument/formatting - (23)'.
2023-08-25T14:58:43.463460Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 4:58:43 PM] Received response 'textDocument/formatting - (23)' in 18ms.
[Trace - 4:58:43 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:43.479163Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:43.479320Z | Debug | cabal: Set files of interest to: fromList [(NormalizedFilePath "/home/nikkon/devel/vscode-hls-debug/korv.cabal",Modified {firstOpen = False})]
2023-08-25T14:58:43.479479Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:43.479480Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:43.479892Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 24
[Trace - 4:58:43 PM] Received request 'window/workDoneProgress/create - (19)'.
[Trace - 4:58:43 PM] Sending response 'window/workDoneProgress/create - (19)'. Processing request took 0ms
[Trace - 4:58:43 PM] Sending request 'textDocument/foldingRange - (24)'.
2023-08-25T14:58:43.779522Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:43 PM] Received response 'textDocument/foldingRange - (24)' in 2ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:43 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:43 PM] Sending request 'textDocument/codeLens - (25)'.
2023-08-25T14:58:43.854974Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:43 PM] Received response 'textDocument/codeLens - (25)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:43 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.424505Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.424994Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.425012Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.425953Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 25
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.441578Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.441790Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.441794Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.442197Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 26
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.520786Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.521346Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.521381Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.522460Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 27
[Trace - 4:58:44 PM] Received request 'window/workDoneProgress/create - (20)'.
[Trace - 4:58:44 PM] Sending response 'window/workDoneProgress/create - (20)'. Processing request took 0ms
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.659186Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.659617Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.659718Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.660487Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 28
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.663909Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.664176Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.664180Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.664766Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 29
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.764959Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.765623Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.765628Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
[Trace - 4:58:44 PM] Received request 'window/workDoneProgress/create - (21)'.
[Trace - 4:58:44 PM] Sending response 'window/workDoneProgress/create - (21)'. Processing request took 0ms
2023-08-25T14:58:44.766794Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 30
[Trace - 4:58:44 PM] Received request 'window/workDoneProgress/create - (22)'.
[Trace - 4:58:44 PM] Sending response 'window/workDoneProgress/create - (22)'. Processing request took 0ms
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.887046Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.887419Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.887433Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.888256Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 31
[Trace - 4:58:44 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:44.890386Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:44.890545Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:44.890551Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:44.890934Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 32
[Trace - 4:58:44 PM] Received request 'window/workDoneProgress/create - (23)'.
[Trace - 4:58:44 PM] Sending response 'window/workDoneProgress/create - (23)'. Processing request took 0ms
[Trace - 4:58:45 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:45.004306Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:45.004939Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:45.004962Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:45.006158Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 33
[Trace - 4:58:45 PM] Received request 'window/workDoneProgress/create - (24)'.
[Trace - 4:58:45 PM] Sending response 'window/workDoneProgress/create - (24)'. Processing request took 0ms
[Trace - 4:58:45 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:45.139259Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:45.139523Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:45.139533Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:45.140061Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 34
[Trace - 4:58:45 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:45.142648Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:45.142859Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:45.142869Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:45.143374Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 35
[Trace - 4:58:45 PM] Received request 'window/workDoneProgress/create - (25)'.
[Trace - 4:58:45 PM] Sending response 'window/workDoneProgress/create - (25)'. Processing request took 0ms
[Trace - 4:58:45 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:45.256535Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:45.257021Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:45.257020Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:45.257976Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 36
[Trace - 4:58:45 PM] Received request 'window/workDoneProgress/create - (26)'.
[Trace - 4:58:45 PM] Sending response 'window/workDoneProgress/create - (26)'. Processing request took 0ms
[Trace - 4:58:45 PM] Sending request 'textDocument/codeAction - (26)'.
[Trace - 4:58:45 PM] Received response 'textDocument/codeAction - (26)' in 3ms.
[Trace - 4:58:45 PM] Sending request 'textDocument/foldingRange - (27)'.
2023-08-25T14:58:45.557258Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:45 PM] Received response 'textDocument/foldingRange - (27)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:45 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:45 PM] Sending request 'textDocument/codeLens - (28)'.
2023-08-25T14:58:45.633248Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:45 PM] Received response 'textDocument/codeLens - (28)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:45 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:46 PM] Sending request 'textDocument/formatting - (29)'.
2023-08-25T14:58:46.437262Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 4:58:46 PM] Received response 'textDocument/formatting - (29)' in 17ms.
[Trace - 4:58:46 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:58:46.443264Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:58:46.443655Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:58:46.443758Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:58:46.444299Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 37
[Trace - 4:58:46 PM] Received request 'window/workDoneProgress/create - (27)'.
[Trace - 4:58:46 PM] Sending response 'window/workDoneProgress/create - (27)'. Processing request took 0ms
[Trace - 4:58:46 PM] Sending request 'textDocument/foldingRange - (30)'.
2023-08-25T14:58:46.744730Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:58:46 PM] Received response 'textDocument/foldingRange - (30)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:58:46 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:58:46 PM] Sending request 'textDocument/codeLens - (31)'.
2023-08-25T14:58:46.820148Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:58:46 PM] Received response 'textDocument/codeLens - (31)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:58:46 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:58:59 PM] Sending request 'textDocument/formatting - (32)'.
2023-08-25T14:58:59.163554Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 4:58:59 PM] Received response 'textDocument/formatting - (32)' in 13ms.
[Trace - 4:58:59 PM] Sending request 'textDocument/documentHighlight - (33)'.
2023-08-25T14:58:59.771986Z | Warning | No plugin enabled for SMethod_TextDocumentDocumentHighlight
[Trace - 4:58:59 PM] Received response 'textDocument/documentHighlight - (33)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols (-32601).
[Error - 4:58:59 PM] Request textDocument/documentHighlight failed.
  Message: No plugin enabled for SMethod_TextDocumentDocumentHighlight, potentially available: ghcide-hover-and-symbols
  Code: -32601 
[Trace - 4:59:00 PM] Sending request 'textDocument/codeAction - (34)'.
[Trace - 4:59:00 PM] Received response 'textDocument/codeAction - (34)' in 4ms.
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.564825Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.565328Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.565339Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.566883Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 38
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.570430Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.570898Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.570916Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.572171Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 39
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.665585Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.666148Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.666155Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.667518Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 40
[Trace - 4:59:00 PM] Received request 'window/workDoneProgress/create - (28)'.
[Trace - 4:59:00 PM] Sending response 'window/workDoneProgress/create - (28)'. Processing request took 0ms
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.795897Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.796277Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.796451Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.797133Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 41
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.799383Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.799672Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.799674Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.800413Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 42
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.888601Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.889168Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.889224Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.890242Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 43
[Trace - 4:59:00 PM] Received request 'window/workDoneProgress/create - (29)'.
[Trace - 4:59:00 PM] Sending response 'window/workDoneProgress/create - (29)'. Processing request took 0ms
[Trace - 4:59:00 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:00.996257Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:00.996820Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:00.996830Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:00.998205Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 44
[Trace - 4:59:01 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:01.007643Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:01.007932Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:01.007940Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:01.008532Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 45
[Trace - 4:59:01 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:01.088322Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:01.088879Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:01.088897Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:01.090353Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 46
[Trace - 4:59:01 PM] Received request 'window/workDoneProgress/create - (30)'.
[Trace - 4:59:01 PM] Sending response 'window/workDoneProgress/create - (30)'. Processing request took 0ms
[Trace - 4:59:01 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:01.207872Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:01.208152Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:01.208234Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:01.208767Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 47
[Trace - 4:59:01 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:01.211604Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:01.211800Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:01.211806Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:01.212230Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 48
[Trace - 4:59:01 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:01.284870Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:01.285324Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:01.285399Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:01.286526Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 49
[Trace - 4:59:01 PM] Received request 'window/workDoneProgress/create - (31)'.
[Trace - 4:59:01 PM] Sending response 'window/workDoneProgress/create - (31)'. Processing request took 0ms
[Trace - 4:59:01 PM] Sending request 'textDocument/codeAction - (35)'.
[Trace - 4:59:01 PM] Received response 'textDocument/codeAction - (35)' in 4ms.
[Trace - 4:59:01 PM] Sending request 'textDocument/foldingRange - (36)'.
2023-08-25T14:59:01.584845Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:59:01 PM] Received response 'textDocument/foldingRange - (36)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:59:01 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:59:01 PM] Sending request 'textDocument/codeLens - (37)'.
2023-08-25T14:59:01.660885Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:59:01 PM] Received response 'textDocument/codeLens - (37)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:59:01 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
[Trace - 4:59:04 PM] Sending request 'textDocument/formatting - (38)'.
2023-08-25T14:59:04.057731Z | Debug | cabal-fmt: Invocation of cabal-fmt with arguments [ /home/nikkon/devel/vscode-hls-debug/korv.cabal
                                                  , --indent
                                                  , 2 ]
[Trace - 4:59:04 PM] Received response 'textDocument/formatting - (38)' in 14ms.
[Trace - 4:59:04 PM] Sending notification 'textDocument/didChange'.
2023-08-25T14:59:04.065073Z | Debug | cabal: Modified text document: file:///home/nikkon/devel/vscode-hls-debug/korv.cabal
2023-08-25T14:59:04.065598Z | Debug | Finished build session
AsyncCancelled
2023-08-25T14:59:04.065615Z | Debug | Restarting build session due to /home/nikkon/devel/vscode-hls-debug/korv.cabal (changed)
Action Queue: []
Keys: [ GetClientSettings; 
      , IsFileOfInterest; /home/nikkon/devel/vscode-hls-debug/korv.cabal
      , GetModificationTime; /home/nikkon/devel/vscode-hls-debug/korv.cabal ]
Aborting previous build session took 0.00s 
2023-08-25T14:59:04.066605Z | Debug | cabal: Modified: /home/nikkon/devel/vscode-hls-debug/korv.cabal VFSVersion 50
[Trace - 4:59:04 PM] Received request 'window/workDoneProgress/create - (32)'.
[Trace - 4:59:04 PM] Sending response 'window/workDoneProgress/create - (32)'. Processing request took 0ms
[Trace - 4:59:04 PM] Sending request 'textDocument/foldingRange - (39)'.
2023-08-25T14:59:04.366156Z | Warning | No plugin enabled for SMethod_TextDocumentFoldingRange
[Trace - 4:59:04 PM] Received response 'textDocument/foldingRange - (39)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange (-32601).
[Error - 4:59:04 PM] Request textDocument/foldingRange failed.
  Message: No plugin enabled for SMethod_TextDocumentFoldingRange, potentially available: codeRange
  Code: -32601 
[Trace - 4:59:04 PM] Sending request 'textDocument/codeLens - (40)'.
2023-08-25T14:59:04.441364Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:59:04 PM] Received response 'textDocument/codeLens - (40)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:59:04 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
2023-08-25T14:59:07.526192Z | Info | Live bytes: 0.00MB Heap size: 0.00MB
[Trace - 4:59:19 PM] Sending request 'textDocument/codeLens - (41)'.
2023-08-25T14:59:19.154264Z | Warning | No plugin enabled for SMethod_TextDocumentCodeLens
[Trace - 4:59:19 PM] Received response 'textDocument/codeLens - (41)' in 3ms. Request failed: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval (-32601).
[Error - 4:59:19 PM] Request textDocument/codeLens failed.
  Message: No plugin enabled for SMethod_TextDocumentCodeLens, potentially available: importLens, moduleName, class, ghcide-type-lenses, eval
  Code: -32601 
fendor commented 1 year ago

Ah yes, it actually makes sense.

Yeah, this is an HLS bug that we need to fix. The issue is that cabal-fmt has no access to the internal Virtual File system, which is only persisted if you actually save. Apparently, VSCode wants to format the file contents before saving it, leading to the old file state (that's still on disk) to overwrite the existing file.

konnik commented 1 year ago

Just to clarify: When I follow this steps....

  1. Edit the cabal file (do not save)
  2. Ctrl + Shift + I (Format document)

... the changes are lost in the editor.

Nothing is saved to disk, but the file is marked as unsaved.

fendor commented 1 year ago

Yes, same issue. I have a patch, perhaps we can sneak it into the ongoing release :see_no_evil:

fendor commented 1 year ago

Fix is here: https://github.com/haskell/haskell-language-server/pull/3776 but I am not sure we can get it merged before the release.

fendor commented 1 year ago

@konnik we managed to get https://github.com/haskell/haskell-language-server/pull/3776 for the next release, but it has the side effect that expand src pragmas will no longer work. Follow https://github.com/phadej/cabal-fmt/pull/82 which would fix that again.

konnik commented 1 year ago

That's awesome @fendor, thanks for the fast fix and all the hard work youre all doing with the Haskell tooling. 👍