LuaLS / LuaLS/lua-language-server

"Workspace loading: 0/0" on hover (Unless in Preview Mode)

未關閉
#3,276 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Lua
星號
4.4k
分支
442
PR 合併指標
30 天內沒有已合併 PR

描述

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Hover

Expected Behaviour

Hover should work in the workspace, rather than displaying "Workspace loading: 0/0" forever

Actual Behaviour

If I go into "problems" and click a problem (and it opens the Preview read-only file) the hover works there, but if I hover in the normal workspace I get "Workspace loading: 0/0" forever

Reproduction steps
  1. Open VSCode with Lua Language Server enabled
  2. Connect to remote repro
  3. Have a lua file open
  4. Hover over something
  5. Observe the "Workspace loading: 0/0" on hover
  6. Observe that it does not ever load
Additional Notes

No response

Log File

service.log

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

使用列出的遠端重現步驟,透過 Visual Studio Code Extension 重現問題,然後在一般 Workspace 和 Preview mode 中進行游標停留時檢查 service.log。完成的標誌是 Workspace 游標停留能夠解析,而不是一直停留在「Workspace loading: 0/0」。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
lua, vscode
領域
devtools
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。