LuaLS / LuaLS/lua-language-server

Hint display is incorrect when using plugin

Open
#2,793 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?

Plugins

### Expected Behaviour

hide invisible require hint

### Actual Behaviour

![image](https://github.com/user-attachments/assets/862794bc-af37-4860-a541-50a8eb6cd9e0)

### Reproduction steps

if plugin diff have require and enable Hint

### Additional Notes

plugin: https://github.com/goldenstein64/pl-definitions

### Log File

_No response_

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 report in the Visual Studio Code extension on Windows with the linked pl-definitions plugin, using a plugin diff that contains require and enabling the Hint display. Compare the visible hint with the expected behavior of hiding an invisible require hint. Done means the reproduction no longer shows that hint while other relevant hints remain available.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.