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

GDScript: auto completion bugs #40933

Closed
1 of 4 tasks
ThakeeNathees opened this issue Aug 1, 2020 · 3 comments · Fixed by #79387
Closed
1 of 4 tasks

GDScript: auto completion bugs #40933

ThakeeNathees opened this issue Aug 1, 2020 · 3 comments · Fixed by #79387

Comments

@ThakeeNathees
Copy link
Contributor

ThakeeNathees commented Aug 1, 2020

Godot version: v4.0.dev.custom_build 35ff38b

OS/device including version: windows 10

Issue description:

  • no builtin types in type name (including "Variant") completion
    in both variable type completion and function return type completion there is no builtin type
    Capture

  • function argument suggestions are wrong (use with indexing)
    Capture

  • no argument hint immediately after open a bracket
    Untitled-1

  • autocompletion of subclass suggest other subclasses too
    Capture

Resolved issues

Preview Give feedback
@ThakeeNathees ThakeeNathees changed the title GDScript: no builtin types in type name completion GDScript: auto completion bugs Aug 1, 2020
@Calinou Calinou added this to the 4.0 milestone Aug 1, 2020
@gvekan
Copy link
Contributor

gvekan commented Sep 30, 2020

When working on #42382, I found that the example in that issue does not get any autocompletion options in master.

I found that entries was empty which stops the creation of the completion suggestions, but I have not researched why there are no entries..

if (entries.size() == 0) {
return;
}

Hope it is okay that I comment this here, because it seems similar to the issues listed.

@HolonProduction
Copy link
Member

Just tested in v4.1.stable.official [9704596].

  • Problem 1 is fixed (no builtin types in type name (including "Variant") completion)

Problems 2 and 4 still apply.

@HolonProduction
Copy link
Member

Can't reproduce the 4th problem on v4.2.dev.custom_build [ef155c1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants