Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whenever I add dependency to cabal, I have to restart VS Code #1171

Open
iirekm opened this issue Dec 1, 2024 · 1 comment
Open

Whenever I add dependency to cabal, I have to restart VS Code #1171

iirekm opened this issue Dec 1, 2024 · 1 comment

Comments

@iirekm
Copy link

iirekm commented Dec 1, 2024

Whenever I add dependency to cabal, I have to restart VS Code so that the plugin can see it and doesn't display missing imports and other errors. cabal build or killall -9 haskell-language-server-9.10.1 don't help, only restarting does.

@fendor
Copy link
Collaborator

fendor commented Dec 1, 2024

Hi, thank you for your bug report!
This is a known issue, but I can't seem to find the proper issue in the Haskell Language Server repo.
I will link it once I find it.

While we are somewhat actively working on fixing this issue, the quickest workaround is the Haskell: Restart Haskell LSP server command, which you can invoke by pressing Ctrl + Shift + P, and then entering Restart Haskell LSP server.

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

No branches or pull requests

2 participants