LuaLS / LuaLS/lua-language-server

rootUri is incorrect in VS Code extension

Open
#3,275 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

like the title said, the client didn't send null for the URI and more than 100000 files have been scanned. It also said that the current scanned directory is `/`

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

Start by reproducing the VS Code extension request with a null URI and trace how rootUri is interpreted. Confirm the fix by verifying that the current scanned directory is not reported as `/` and that scanning does not proceed beyond the intended scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.