LuaLS / LuaLS/lua-language-server

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

Open
#3,276 0 comments 0 reactions 0 assignees View on GitHub

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?

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through the Visual Studio Code Extension using the listed remote repro steps, then inspect service.log while hovering in a normal workspace and in Preview mode. Done means workspace hover resolves instead of remaining at “Workspace loading: 0/0”.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.