LuaLS / LuaLS/lua-language-server
BUG:远程开发插件报错,无法定位引用变量
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?
Linux
### What is the issue affecting?
Other
### Expected Behaviour
能够在ssh远程开发时正常运行,定位被引用变量
### Actual Behaviour
更新到3.8.0后,由windows使用ssh远程连接到linux上开发,插件启动报错。

使用ctrl + 鼠标左键点击,无法定位到被引用变量

3.8.0插件在windows上运行并不会报错,能够正常定位到被引用变量。之前的版本也能够在ssh远程开发时正常运行。
### Reproduction steps
1. 更新插件到3.8.0版本
2. 使用ssh远程开发插件(Remote-SSH)连接linux系统开发(CentOS Linux 7)
3. 插件启动报错,11个错误

### Additional Notes
_No response_
### 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 with the 3.8.0 VS Code extension using Remote-SSH from Windows to CentOS Linux 7, then inspect the startup errors shown in the attached screenshots. Compare this with local Windows execution and an earlier extension version. Done means the remote plugin starts without errors and Ctrl+click locates referenced variables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, lua, vscode
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100