-
Notifications
You must be signed in to change notification settings - Fork 15
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
Hang when opening rust file #129
Comments
Ups. Please can you provide me your OS? I cannot reproduce any issue with that file renamed as |
Windows 11, I have rust-analyzer but it doesn't run when I'm opeing the file |
App crashes or just freezes? Can you record some logs for me? Thanks |
ecode.log
in the log but I do have rust-analyzer, ecode even sees it in the languages health tool |
Sorry I forgot to ask, this is working well in the previous version 0.5.0? |
Previous version hangs too, I disabled LSP plugin and now it works! |
Cool. You'll probably be able to fix it by fixing the rust-analyzer installation. I have no idea how the error hangs ecode, I'll try to reproduce your broken installation and hope for the worst. My rust-analyzer is also broken on Linux but doesn't hang, so this could be a Windows only issue. |
Found more info, it seems I didn't actually have the rust-analyzer installed and what ecode detects I had to run the command: |
Excellent, thank you very much! This is a great hint to solve the issue. I'm also glad it's not hanging anymore. |
I'm 90% sure I found the issue and I was able to reproduce it in a similar scenario. Also already pushed a fix but I'll continue testing. Basically some Window API interaction with |
Hey, I downloaded the latest 0.5.1 release and encountered a program hang when opening a rust .rs file. Basically any .rs file makes the program hang but I made an example just in case:
test.txt
please rename this into test.rs (github doesnt allow uploading .rs)
The text was updated successfully, but these errors were encountered: