Skip to content

completion.callSnippet设置Replace后函数调用片段补全错误 #443

Description

@MrZ626

Describe the bug
补全函数调用片段时,比如有函数a.b.c,输入a.b.后可以看到有a.b.c的补全,但是按确定时变成了a.b.b.c(...)

To Reproduce
先把设置Lua.completion.callSnippet设为Replace
love-api.zip
导入上面这个love-api到外部函数库(不知道放在工程文件内能不能复现)
输入love.graphics.
随便挑一个函数调用片段(不是关键词)
确认补全

Expected behavior
要出现a.b.c(...)

Screenshots
1
2

Environment (please complete the following information):

  • OS: [e.g. Windows, macOS, Ubuntu] -Windows 10
  • Is WSL remote? - No
  • Client: [e.g. VSCode, neovim] -VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions