-
Notifications
You must be signed in to change notification settings - Fork 90
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
Stuck in "Processing: 1/2" for newly created project #1187
Comments
Hi, thank you for your bug report! Yeah, this tip (which is only required for The logs you sent look fine, we currently do not support loading of Note, the I think the extension logs would be interesting as well if something doesn't work, could you please follow the instructions at https://github.com/haskell/vscode-haskell?tab=readme-ov-file#investigating-and-reporting-problems and share the logs? |
The HLS did not work in that case. I did not get autocompletion suggestions. I updated the |
Can you describe what you did for the progress notification to show up? Following your instructions, my HLS works out of the box: Also, I am not sure what you mean by "Save Hook". What is that? It is not part of vscode-haskell nor HLS. Strictly speaking, I don't think saving can even be blocked by the extension or HLS, it would be the first time seeing that. You don't happen to have interference with other extensions? |
@fendor I'm not sure if it is because of the tool version combination. I listed my tool versions in the issue description. I'm on the recommended ghc-9.4.8, while I see you are using ghc-9.8.4. I'm not sure if there is any other difference in tool version. This is the "Processing: 1/2" status after I started a project without Try make some changes and save. It blocks on |
When starting the VS Code session from the directory of a newly created project by stack with the following command, the extension is stuck in "Processing: 1/2" status, and all subsequent actions will be blocked, e.g., files cannot be saved because the save hook cannot be executed.
It seems adding a
hie.yaml
file to the root of the project with the following contents will fix the error. It was mentioned in the Stack and Visual Studio Code documentation.I'm wondering if we can add this tip to the extension documentation.
Your environment
Which OS do you use:
Windows
Steps to reproduce
system-ghc: true
,default-init-snapshot: ghc-9.4.8
stack new hello-world new-template
cd hello-world && code .
.hs
file to activate the extensionExpected behaviour
The extension should complete the initialization and start working
Actual behaviour
The extension was stuck in "Processing: 1/2" status, and blocked further actions.
Include debug information
Execute in the root of your project the command
haskell-language-server-wrapper --debug .
and paste the logs here (you can find the executable location here):Debug output:
Paste the contents of extension specific log, you can check instructions about how to find it here
Extension log:
The text was updated successfully, but these errors were encountered: