You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No code completion, code completion works in vscode. Which leads me to believe the error lies in the lsp client config. Just do not know enough to track what it could be.
Include debug information
Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:
Debug output:
(haskell-language-server)Ghcide setup tester in /home/hurricanehrndz/source/mine/my-xmonad.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Tool versions found on the $PATH
cabal: 2.4.0.0
stack: 2.5.1
ghc: 8.8.4
Step 1/4: Finding files to test in /home/hurricanehrndz/source/mine/my-xmonad
Found 1 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
[INFO] Consulting the cradle for "Main.hs"
[INFO] Using interface files cache dir: /home/hurricanehrndz/.cache/ghcide/main-8cc02bc2471b22fdd28ea2d2ae80fdd51a68740d
[INFO] Making new HscEnv[main]
[INFO] finish: User TypeCheck (took 0.10s)
Completed (1 file worked, 0 files failed)
Paste the logs from the lsp-client, e.g. for VS Code
I am just starting to learn Haskell because I am trying to migrate to xmonad so any tips or recommendations are welcomed.
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:haskell-language-server version: 0.6.0.0 (GHC: 8.6.5) (PATH: /home/hurricanehrndz/.local/bin/haskell-language-server-wrapper) (GIT hash: 2e7c0ce19f9db7c356892c05561d72fc01ad4a83) Tool versions found on the $PATH cabal: 2.4.0.0 stack: 2.5.1 ghc: 8.8.4
Which lsp-client do you use:
nvim with built-in lsp
Describe your project (alternative: link to the project):
Main.hs
Contents of
hie.yaml
:Steps to reproduce
Open Main.hs
Expected behaviour
Code completion
Actual behaviour
No code completion, code completion works in vscode. Which leads me to believe the error lies in the lsp client config. Just do not know enough to track what it could be.
Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:Debug output:
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
The text was updated successfully, but these errors were encountered: