Giter VIP home page Giter VIP logo

Comments (8)

jellyton69 avatar jellyton69 commented on June 17, 2024 3

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.

emmericp avatar emmericp commented on June 17, 2024

Two weird things in the log:

  • seemingly random diagnostics like redundant-value or trailing-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) despite diagnostics.libraryFiles being set to Opened and the file not being open

from lua-language-server.

emmericp avatar emmericp commented on June 17, 2024

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.

Vladinator avatar Vladinator commented on June 17, 2024

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.

emmericp avatar emmericp commented on June 17, 2024

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.

comedinha avatar comedinha commented on June 17, 2024

Same here, the lastest changes in bee makes take too long to load and diagnoses the files

from lua-language-server.

pidgeon777 avatar pidgeon777 commented on June 17, 2024

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.

sumneko avatar sumneko commented on June 17, 2024

Should be fixed in 3.9.1

from lua-language-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.