LuaLS / LuaLS/lua-language-server

can't auto detect love2d project (3.71 is OK, 3.7.2 and 3.7.3 are broken).

未关闭
#2,419 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Lua
星标
4.4k
派生
442
PR 合并指标
30 天内没有已合并 PR

描述

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

MacOS 13.4 intel

What is the issue affecting?

Can't auto detect love2d project, no popup for write configure for love2d project. (NOTICE: 3.71 is OK, 3.7.2 and 3.7.3 are broken)

Expected Behaviour

this popup should be popup when the Lua file contains love. load or love.update ..., but currently version no popup shows.

Screenshot 2023-11-18 at 11 57 07
Actual Behaviour
Screenshot 2023-11-18 at 11 57 07 this popup should show when detecting the love2d project
Reproduction steps

t1.zip

  1. use vscode to open this folder
  2. open main.lua
  3. should popup the configure popup(see image).
Screenshot 2023-11-18 at 11 57 07
Additional Notes

3.71 is OK, 3.7.2 and 3.7.3 are broken

Log File

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

通过在 VS Code 中打开附带的 t1.zip 文件夹,然后打开 main.lua,复现该问题,并比较 3.71、3.7.2 和 3.7.3 版本中的行为。跟踪 Love2D 自动检测路径,并验证当文件包含 love.load 或 love.update 时配置弹窗会出现。

由索引模型根据 Issue 内容生成。

评估

技术栈
lua, vscode
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。