Skip to content

Lsp autocompletion no close parenthesis #84549

@basluc

Description

@basluc

Godot version

4.1.3

System information

Godot v4.1.2.stable - KDE neon 5.27 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 525.125.06) - Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 Threads)

Issue description

I using an external editor (Neovim). I've also tested this with Visual Studio Code. When I use autocompletion for functions, it doesn't automatically close parentheses. I've tested this on both Linux and Windows, with the latest version (4.1.3) as well as the Steam version.

If I use autocompletion with the print() function, the editor suggests the function, and when I press Enter, the autocompletion result is: print(. The same issue occurs with the append() function of an array, and the result is test.append(. Likewise with many other functions. However, in the Godot editor, there is no problem.

godot_bug_1

godot_bug_2

godot_bug_3

Steps to reproduce

I don't know how to reproduce this bug. I tested the autocompletion on someone else's Ubuntu, and there were no issues using VSCode. As mentioned above, I tested it on two different computers with different operating systems, using both VSCode with godot-tools installed and Neovim, and the bug still persists for me.

Minimal reproduction project

Any project with a GDScript script is sufficient.

Metadata

Metadata

Type

No type

Projects

Status

Fix pending review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions