How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows/Linux
What is the issue affecting?
Plugins
Expected Behaviour
Over the plugins page it seems to me like ResolveRequire first parameter is the current file the require is being typed at.
Actual Behaviour
But in reality it seems to be the workspace URI, not the file.
Reproduction steps
- Make a new plugin
- Paste the same code shown in screenshot
- Type out some
require statement, you will see the URI of the workspace in the output instead of the require statement file.
Additional Notes
See LuaLS/LuaLS.github.io#48
Log File
No response
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows/Linux
What is the issue affecting?
Plugins
Expected Behaviour
Over the plugins page it seems to me like ResolveRequire first parameter is the current file the require is being typed at.
Actual Behaviour
But in reality it seems to be the workspace URI, not the file.
Reproduction steps
requirestatement, you will see the URI of the workspace in the output instead of therequirestatement file.Additional Notes
See LuaLS/LuaLS.github.io#48
Log File
No response