LuaLS / LuaLS/lua-language-server

[Feature Request] hover.expandClass

Open
#2,138 3 comments 0 reactions 0 assignees View on GitHub
enhancement Info Needed
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

Currently when hovering a function to see the params, if an param is an alias, its possible values are shown as a part of the param description.

Screenshot_1

Would it be possible to have something similar for classes, where if a class is used as an param, the param description could show the extended class definition (possibly showing extended nested arguments if applicable)?
Screenshot_2

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the existing hover behavior that expands alias parameter values, then compare it with the requested class screenshots. Done means a class used as a parameter shows its extended class definition, including nested arguments where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.