LuaLS / LuaLS/lua-language-server
Is it possible to only work with the methods explicitly defined in the LuaLS modules?
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
Basically I have some methods defined in my files, but I don't like that it suggests two versions of the same methods, since in my LuaLS ---@meta modules I also have these methods defined, but I want to have everything that is typed outside of my real code.
Does anyone know if this is possible?
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
No files, tests, or entry points are named. Start by reproducing duplicate method suggestions from a LuaLS ---@meta modules declaration and a matching method in a real file, then trace how these declarations are combined; done means the requested preference is implemented or its feasibility is clearly documented with coverage for the duplicate case.
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
- Needs clarification
- Newbie friendliness
- 30/100