Inherited class fields not shown in hover information

Open
#313 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
lua, typescript
Domain
devtools

Research direction

Start by reproducing the hover behavior with the Lua class inheritance snippet and trace the VSCode hover information handling. Verify how inherited fields are collected for both B and l; done means the hover output includes fields a and b.

Written by the indexing model from the issue text.

Description

---@class A
---@field a any

---@class B : A
---@field b any

---@type B
local l

Hovering over B or l shows only the b field, omitting the a field.

Dominant language
TypeScript
Stars
753
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from EmmyLua/VSCode-EmmyLua

All issues in EmmyLua/VSCode-EmmyLua

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.