LuaLS / LuaLS/lua-language-server

Support for generic classes

Open
#734 6 comments 47 reactions 0 assignees View on GitHub
enhancement feat/generic feat/LuaCats Annotations
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Despite being [mentioned in luanalysis](
![image](https://user-images.githubusercontent.com/40474474/137420133-4e842d0f-3352-4b79-bea7-c9ee303bb658.png)
), generic classes are not supported by this language server.

**Screenshots**
![image](https://user-images.githubusercontent.com/40474474/137420009-23fd1257-e471-48e0-980c-ab75b5e80dfb.png)

**Environment:**
- OS: Arch Linux
- Client: VSCode

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the generic-class example from the issue in VSCode and compare the language server's behavior with the luanalysis reference mentioned in the report. Trace the language-server handling for generic classes and define done as correct support without the reported diagnostic or display failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.