godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.53k stars 151 forks source link

Extra pair of Quotation Marks on autocomplete #406

Closed zMenta closed 2 years ago

zMenta commented 2 years ago

Godot version

3.5 stable

VS Code version

1.70.1

Godot Tools VS Code extension version

1.3.1

System information

Windows 10

Issue description

By selecting the auto-completion option when you already wrote the "" on functions that take strings, it will write an extra pair of quotation marks.

Code completion suggestion: image

Output: image

Steps to reproduce

  1. Write a function that takes a string, for example emit_signal(), connect(), is_action_pressed(), etc;
  2. Type "" inside the function parenthesis;
  3. Wait for the auto complete pop up appears;
  4. Select an auto complete option.
Calinou commented 2 years ago

Duplicate of https://github.com/godotengine/godot/issues/48436.