LuaLS / LuaLS/lua-language-server
[Feature Request] package classes/enums
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
As far as I'm aware it's currently not possible to specify a class/enum/alias as only visible to current file. This feature is already implemented for functions and fields; it would be amazing to have other kinds of definitions also implement this behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing implementation and tests for file-only visibility on functions and fields in the Lua language server. Trace how class, enum, and alias definitions are represented, then define the matching behavior for those definitions. Done means all three kinds support the same current-file visibility behavior with coverage for the relevant cases.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100