LuaLS / LuaLS/lua-language-server

Enhancements to properties

Open
#1,901 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feat/LuaCats Annotations
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

I'd like to declare @fields that might be:

  • ready-only (i.e. __index() exists, but __newindex() doesn't)
  • read-write
  • dynamic (a new value is generated every time __index() is called)

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

No source files or tests are named. Start by tracing how @field declarations and the __index/__newindex entry points are handled, then determine where read-only, read-write, and dynamic properties should be represented. Done means each requested property mode is recognized consistently and has coverage for its expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.