Comments (8)
Workspace loading is really bad after the update, my workspace won't even load fully and gets stuck ~halfway through the loading process, which normally loads ~2965 files in less than a minute, I've been hung on 951/2965 for 15 minutes now, force terminating the extension and reloading doesn't fix it. Log shows it stopping at a random file every time, size: 0.040 KB.
from lua-language-server.
Two weird things in the log:
- seemingly random diagnostics like
redundant-value
ortrailing-space
are very slow in the file I was editing (Runner.lua) while the log was being recorded - it seems to be running diagnostics on at least one library file (
.vscode/extensions/ketho.wow-api-0.13.6/EmmyLua/API/GlobalAPI/API3.lua
) despitediagnostics.libraryFiles
being set toOpened
and the file not being open
from lua-language-server.
The diagnostics that are being called out in the log as slow are not actually slow. Running --check with redundant-value
enabled or disabled only makes a difference of maybe 1 second (56 vs. 57 seconds total time).
from lua-language-server.
I can confirm that my workspace started to load exceptionally slower after the recent update, and this wasn't the case a week ago when I was working on my projects. My workspace is around ~500 (whatever the metric is that the notification talks about when processing) and it takes around 2 minutes to finalize. This happens whenever anything changes, it does the scan again and it's exceptionally slower than the previous 2-5 seconds from a week ago.
from lua-language-server.
I guess there is something wrong with coroutine scheduling; i removed all calls to await.delay()
from core/diagnostics/*.lua and it's now super fast again.
from lua-language-server.
Same here, the lastest changes in bee makes take too long to load and diagnoses the files
from lua-language-server.
I am currently utilizing LazyVim, a Neovim configuration, in conjunction with the Lua Language Server (lua_ls). However, I have been encountering an issue for the past few days where the workspace fails to load correctly. The loading process appears to halt randomly at different stages, preventing me from accessing my workspace. This issue is intermittent and the exact point at which the loading process gets stuck varies.
from lua-language-server.
Should be fixed in 3.9.1
from lua-language-server.
Related Issues (20)
- Change default TokenModifiers global color
- Slow startup + invalid UTF-8 code HOT 2
- Anonymous function whitespace
- Addons not working right HOT 7
- `Lua: Export Document ...` fails, throws error in log when trying to export documentation. HOT 2
- luaLS 推荐搭配什么调试 lua 插件要好? HOT 1
- 升级新版本后无法使用 HOT 1
- Diagnostics run `await.delay()` too often HOT 1
- 能否支持 类似 python 的 import 的模块类型?
- operator 对于左右两边类型不一样的情况下只能支持定义该 operator 的类型在左边,在右边会推到不了类型
- Method call using named arguments has missing-parameter false positives HOT 2
- CPU利用率接近100% HOT 1
- inline `@class` does not work properly without empty line in between
- [Question] Large size type annotation file cause low performance. Is it possible to fix it? HOT 1
- [Enhancement] Create cache in a user directory
- Logic to sort diagnostics by cost doesn't work because of async processing
- [Req] Support in ignoring lines starting with # HOT 1
- lua-language-server --check always return subprocess::spawn: (system:2)No such file or directory HOT 1
- Go to definition goes to ---@field instead of source
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 lua-language-server.