LuaLS / LuaLS/lua-language-server
Get error when require module that doesn't exist
Open
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
`require 'doesnotexist'` should produce an error.
I come from the discussion https://github.com/LuaLS/lua-language-server/discussions/2339
I don't find any related issues so opening a new one.
Contributor guide
Research direction
Start by reading discussion 2339, then locate the Lua language server's handling of `require` calls. Reproduce `require 'doesnotexist'` and trace whether missing modules are reported. Done means this unresolved module produces an error diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100