Skip to content

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

Description

@donkeywon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions