Skip to content

3.5.1无法加载工作目录 #1405

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

Closed
linoodb opened this issue Jul 29, 2022 · 6 comments
Closed

3.5.1无法加载工作目录 #1405

linoodb opened this issue Jul 29, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@linoodb
Copy link

linoodb commented Jul 29, 2022

image
3.5.1显示这个报错
回退到3.5.0可正常使用

@sumneko
Copy link
Collaborator

sumneko commented Jul 29, 2022

@linoodb
Copy link
Author

linoodb commented Jul 29, 2022

image
image

报错解决了,可以解析。
但是解析文件的数量和3.5.0不一致

@sumneko
Copy link
Collaborator

sumneko commented Jul 29, 2022

实际上哪个版本是正确的?

@linoodb
Copy link
Author

linoodb commented Jul 29, 2022

3.5.0是正确的,解析了1663个文件
https://github.com./sumneko/lua-language-server/actions/runs/2758719715 这个版本只解析了1284个文件
用vscode上面的3.5.1则报错,无法解析

@sumneko sumneko added the bug Something isn't working label Jul 29, 2022
@sumneko
Copy link
Collaborator

sumneko commented Jul 29, 2022

帮忙在 日志 里看看少了哪些文件,这些文件的路径与工作区的路径有什么关系?(鼠标放在猫猫头上可以看到工作区路径)

在设置 Lua.misc.parameters 里加上参数 --loglevel=debug 可以在日志里打印详细的文件加载信息。

@linoodb
Copy link
Author

linoodb commented Jul 29, 2022

image
https://github.com./sumneko/lua-language-server/actions/runs/2758719715 这个版本的截图设置没生效
这是我设置在另外一个路径里面额外解析的文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants