LuaLS / LuaLS/lua-language-server

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

Open
#2,419 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the attached t1.zip by opening the folder in VS Code and then main.lua, comparing behavior in versions 3.71, 3.7.2, and 3.7.3. Trace the Love2D auto-detection path and verify that the configuration popup appears when the file contains love.load or love.update.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.