Comments (16)
That's probably because it's still scanning all folders while you open new folders. I think i forgot to stop the scanning when changing folders (the scan is really fast in SSDs and never thought about it).
from ecode.
Thanks I will test and let you know.
from ecode.
I haven't had the freeze since 0.4.5 so I guess it must be solved 👍
from ecode.
Yep, that might be it.
I'm running on a fast NVME SSD though... but still it sounds likely as there are a ton of files in some of these project subfolders.
Thanks,
from ecode.
Can you send me your logs? The file tree size and the time it took to analyze it is logged there. It might give me an idea.
from ecode.
Sure, where do I find the logs?
from ecode.
Linux: uses XDG_CONFIG_HOME, usually translates to ~/.config/ecode/ecode.log
macOS: uses Application Support folder in HOME, usually translates to ~/Library/Application Support/ecode/ecode.log
Windows: uses APPDATA, usually translates to C:\Users\{username}\AppData\Roaming\ecode\ecode.log
from ecode.
from ecode.
Just happened again while I was typing..
Hmmm...
from ecode.
I think it's the LSP. LSP is broken in 0.4.4 on Windows, please use this build:
ecode-windows-0.4.4-x86_64.zip. It should fix the issue...
from ecode.
Let me know if you get diagnostics and code completion in the new build. Something weird is going on with Omnisharp. Also if you can run ecode with debug log will be really helpful, debug logs are enabled by running ecode.exe -ldebug
.
from ecode.
Here's a new log...seems to be an exception - not sure if that's the cause of the freezing or something else.
I can remove Omnisharp to see if it still has this issue.. It's easy to reproduce for me with this project.
Thanks,
from ecode.
Yes, without Omnisharp the freeze doesn't seem to happen. Aslo I noticed a bunch of zombie Omnisharp.exe processes that must have been related to each time I force closed ecode.
I hope this helps but not sure what you can do to fix it :-)
Let me know if you need any more information.
Cheers,
from ecode.
It seems I don't gracefully handle a stuck LSP, my theory is that all the pool threads are being frozen by the LSP. I'll check out how to reproduce it. Your particular case should be easy to fix, the OmniSharp installation is lacking MSBuild that it's required to properly function. You need to install MSBuild.
from ecode.
I won't close the issue until I'm 100% sure a freeze can happen. I've been trying to reproduce the bug but I wasn't able, but, I was able to reproduce the zombie processes, and it's fixed for sure. I tested with your same OmniSharp setup (I mean, even without MSBuild installed), and worked fine (of course OmniSharp won't work), OmniSharp with MSBuild installed works nicely as far as I could test, but I'm not a C# user so I'm not sure how good it is.
A new release with a ton of fixes will be released very soon (maybe in a few hours I can build all the platforms).
from ecode.
Awesome! Thank you for testing it. I'll close the issue, and if you see something wrong just let me know and I'll re-open it.
from ecode.
Related Issues (20)
- Feature request: Add support for Verilog/VHDL languages HOT 2
- V LSP uses new program HOT 1
- BUG: ecode closes itself after 5 seconds of opening a folder HOT 19
- No write permissions anywhere Win10 HOT 6
- Ecode stealing focus on KDE Plasma HOT 5
- Lack of IME support HOT 2
- Middle click drag scroll function idea HOT 1
- Feature request: Support for Handlebars HOT 11
- Unable to launch ecode on MacOS 13.6.1 HOT 5
- Snippets HOT 2
- Portable/usb stick mode? HOT 5
- Ecode deleting contents of files on windows HOT 2
- Alt-tabbing on windows causes selected text to be deleted HOT 2
- how to add context and reference window like source insight HOT 1
- Files stop saving after a while and existing files opened after that appear empty Windows 10 HOT 10
- Plug-in Architecture Question HOT 6
- LSP support for Objeck HOT 4
- Feature Request: Better image and audio file viewing HOT 1
- [Plugin Request] Compiler for All Programming Languages HOT 4
- Doesn't see any files? Can't save changes. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecode.