LuaLS / LuaLS/lua-language-server
[Feature Request] Autocomplete also inserts brackets at the end of functions()
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
I did some research, and pretty much every other major language extension like javascript, c#/++ and python have settings to allow autocomplete to add brackets at the end of function calls. It would be nice to see this feature implemented in this extension.
As an example imagine I want to autocomplete the function foo, right now it autocompletes it as is, ideally it would autocomplete it as foo().
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 Lua language server's autocomplete implementation and existing completion-related settings. Compare how function names are currently completed with the requested foo() behavior, then identify the configuration and tests needed to verify that bracket insertion is optional and works for function calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100