-
Notifications
You must be signed in to change notification settings - Fork 27
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
Type & Hover Error #3
Comments
@macjabeth Did you open the file directly instead of open the folder containing the file ? In this case, the extension cannot initialized correctly, as your log shows: I known this problem, but i did not fix it, a little lazzy :) |
- add ldoc command to insert document for function. - add ldoc context menu '**Insert LDoc**'.
@macjabeth try Ver 1.2.5 please. |
@liwangqian Yes, I opened it directly instead of opening the folder containing the file. Sorry for the late reply, I fell asleep :) And ok, I'm waiting for the update to come through in VSCode. Will let you know how it goes! |
@liwangqian I'm not getting the first error message anymore, but it seems like the ones showing up in the second image I posted still are. This is after hovering over any of the variables there: Also, the intellisense wasn't working on this file for some reason. Maybe because it was too large? I'm not sure - any insight would be appreciated! |
@macjabeth From the description you give, I guess there is something failed while parsing the file, so document symbols did not generate, and so hover/intellisense did not work. I need more information to figure out the problem. I guess is there any syntax error in your file? This can be check from the PROBLEMS panel. |
@liwangqian One problem does show up: When I change the file size limit in the settings, the error goes away and a new one presents itself in the OUTPUT panel:
However, when I look at the PROBLEMS panel, it says no problems have been detected. That being said, I decided to do a little debugging and try and pinpoint the error in the script. It turns out that the error is only showing up when I take the For example: |
2. add 'keepAfterClosed' option for luacheck diagnostics.
@macjabeth Thanks for your help to figure out this problem, I will fix it next day, have to go sleep. |
@macjabeth try ver 1.2.7 please, review at a74f192 |
Opening a large lua file gave me this error:
And when I hover over any of the variables in the file, I'm getting this error:
Happy to provide any other information necessary to sort out this issue.
The text was updated successfully, but these errors were encountered: