-
-
Notifications
You must be signed in to change notification settings - Fork 350
1.17.2, no ending processing incremental #437
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
Comments
Please show me your log, see https://github.com/sumneko/lua-language-server/wiki/Default-log-path |
For me the status bar stays stuck at "Processing hover", at least with emmylua files loaded. lua.language.server.1.17.2.mp4 |
76f1b37 |
I edited the file |
cc6ec7e |
Please show me the new log |
From the log, it seems that you haven't done any operation. Please make sure that you sent the correct log. |
I was sure I tried to hover over one of my variables. The hover does work for functions though. |
I can reproduce it with your demo project, many thanks! |
Here is the log from v1.17.2 when opening any lua file like this one. |
Please try this commit |
This seems good ! 👍 |
I have tested #437 (comment) in 1.17.3 and it works well. |
Still the same lua script I provided before but now it is stuck at Here is the log with #437 (commit) applied. Here is my settings for the extensions. // # EXTENSION Lua
"Lua.completion.callSnippet": "Both",
"Lua.diagnostics.globals": ["gg"],
"Lua.runtime.version": "Lua 5.2",
"Lua.diagnostics.severity": {
"unused-function": "Hint",
"unused-local": "Warning"
},
"Lua.diagnostics.workspaceDelay": 1000,
"Lua.hint.enable": true,
"Lua.hint.setType": true, 1.17.0 is blazingly fast and bug free for me with these settings. |
Did you mean you have tried this project https://github.com/sumneko/lua-language-server/files/6074215/test.zip in 1.17.3, and it stucked when hover |
I’m sorry, I provided the wrong link. Here it is. It happens as soon as I load any lua file in VSC, even doing nothing. I updated and corrected my previous comment to add more details if it helps. |
Im a little confused. |
It seemed yes. I replaced the guide.lua in the 1.17.2 with the one provided in #437 (commit). Then all seemed fine. Then I updated to 1.17.3, took car to delete previous version in %homepath%.vscode\extensions and still buggy. Did the log from 1.17.3 help ? |
The guide.lua I downloaded then was this one. Is this the one you wanted me to test, right ? |
Yes. |
Eventually I found that there are 2 bugs, one of which I have fixed in 1.17.3, and the other bug only occurs when opening a single file. |
I’m glad you could reproduce the bug. Good night. |
|
(Oups, sorry for having closed the issue. Wrong button while I was writing a comment) I did the test again with 1.17.2 replacing the guide.lua by the one above and failed to reproduce the success. I have the same issue with 1.17.2 with modified guide.lua. After restarted VSC, of course. |
Open single file or open folder? |
Single file |
Yea there seem to be 2 separate bugs, I also encountered the issue with only opening a single file but I just assumed they were related... Sorry for that, 晚安~ |
It’s okay, the performance of these two bugs is very similar, it is really difficult to distinguish |
Please manually update |
Works for me! It no longer gets stuck on "Processing incremental semantic tokens" when opening a single Lua file. |
I didn’t have to. 1.17.4 solved this issue for me. |
Seems fixed, closing |
Steps to reproduce
Results
Go to definition or references fails
Environment (please complete the following information):
##Workaround
Revert to v1.17 solves the issue.
The text was updated successfully, but these errors were encountered: