Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect auto-completion with static typing enabled #374

Closed
Exerionius opened this issue Jun 2, 2022 · 1 comment
Closed

Incorrect auto-completion with static typing enabled #374

Exerionius opened this issue Jun 2, 2022 · 1 comment

Comments

@Exerionius
Copy link

Godot version

v3.4.4.stable.official [419e713a2]

VS Code version

1.67.2

Godot Tools VS Code extension version

1.2.0 (1.3.0 is broken, but it behaves the same)

System information

Windows 10

Issue description

Some of the auto-completion functionality works incorrectly when static typing is enabled in Godot.

Example 1.
Built-in function auto-completion:
FunctionAutoComplete
Inserts extra braces after function return type.

Example 2.
Input map auto-completion:
InputAutoComplete
Inserts extra quotes and an opening brace

Steps to reproduce

Example 1.

  1. Enable type hints in Godot:
    image
  2. In VS Code type func _re and press Enter

Example 2.

  1. Enable type hints in Godot (see Example 1 step 1)
  2. In VS Code type Input.is_action_just_pressed( and press Enter
@Exerionius Exerionius added the bug label Jun 2, 2022
@Calinou
Copy link
Member

Calinou commented Jun 2, 2022

Duplicate of #323 and #142

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants