LuaLS / LuaLS/lua-language-server
can't auto detect love2d project (3.71 is OK, 3.7.2 and 3.7.3 are broken).
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.
### Actual Behaviour
this popup should show when detecting the love2d project
### Reproduction steps
[t1.zip](https://github.com/LuaLS/lua-language-server/files/13398870/t1.zip)
1. use vscode to open this folder
2. open main.lua
3. should popup the configure popup(see image).
### Additional Notes
3.71 is OK, 3.7.2 and 3.7.3 are broken
### Log File
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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