Closed greggaree closed 9 months ago
Could you add,
haskell-language-server-wrapper --probe-tools
),The log from VSCode using the following "make-it-look-nicer" format:
<details>
<summary>
LSP logs:
</summary>
</details>
? These info will be helpful to find the root.
When the VS Code plugin installed the HLS and haskell-language-server-wrapper (HLSW), the plugin didn't install the HLSW or HLS on my path. After some searching on the web, I found the HLSW at:
~/.config/Code/User/globalStorage/haskell.haskell
After a cd ~/.config/Code/User/globalStorage/haskell.haskell
, I ran ./haskell-language-server-wrapper-1.0.0-linux--probe-tools
(typing just ./haskell-language-server-wrapper doesn't work) and saw this:
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /home/greg/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.0.0-linux) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
Here is the log from VSCode:
Great, thank you!
Maybe it's related with hiedb update? CC. @wz1000
I started getting the same error after changing hie.yaml
from just
cradle:
stack:
to
cradle:
stack:
- path: "./src"
component: "ttb:lib"
- path: "./app"
component: "ttb:exe:ttb-exe"
- path: "./test"
component: "ttb:test:ttb-test"
I am using haskell-language-server-1.0.0-linux-8.8.4
at the moment.
I hope this can provide additional insights. Thank you!
Closing as old and no recent reproductions
I'm running VS Code on Linux. I found this message in the terminal console:
What's causing this? Looking at the log output from Haskell trace server messages, I also found this:
The user error message only seems to appear when I restart VS Code, then do a a
Go To Definition
. Shortly after VS Code jumps to tthe definition, the user error message appears in the terminal window. Clicking on the user error message takes me toPaths_sol.hs
, then the user error message disappears from the terminal. SubsequentGo To Definition
actions do not trigger this user error message.