Skip to content
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

scoop安装的vscode升级插件2.6.8版本提示undefined global #1027

Closed
donkeywon opened this issue Apr 9, 2022 · 0 comments
Closed

scoop安装的vscode升级插件2.6.8版本提示undefined global #1027

donkeywon opened this issue Apr 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@donkeywon
Copy link

Describe the bug
vscode是用scoop安装的,今天把插件更新到2.6.8后所有的内置函数都提示undefined global

To Reproduce
Steps to reproduce the behavior:

  1. 使用scoop安装vscode
  2. 安装此插件
  3. 随便写一行lua代码,例如 local insert = table.insert

Expected behavior
正常代码提示

Screenshots
image

Environment (please complete the following information):

  • OS: Windows
  • No WSL
  • Client: VSCode

Additional context
scoop安装的vscode,data文件夹实际存储在persist文件夹里,vscode安装目录里的data文件夹是软链接
image
image

根据log,发现原因在 script/files:57 这里,暂时硬编码兼容了下
image

Provide logs
file_d%3A_workspace_code_lua_eft-spl.log

@sumneko sumneko added the bug Something isn't working label Apr 9, 2022
@sumneko sumneko closed this as completed in 528c807 Apr 9, 2022
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