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

Script editor completion doesn't suggest members of a script after : #47720

Closed
me2beats opened this issue Apr 8, 2021 · 3 comments
Closed

Script editor completion doesn't suggest members of a script after : #47720

me2beats opened this issue Apr 8, 2021 · 3 comments

Comments

@me2beats
Copy link

me2beats commented Apr 8, 2021

Godot version:

3.2.3

OS/device including version:

Linux

Issue description:

completion

completion1

Steps to reproduce:

  1. Create a script new_script.gd:
class X:
	pass
  1. Create another script with this code
const scr = preload("res://new_script.gd")
func _ready():
	var x: scr.

As you can see the completion doesn't appear
It should suggest X.

Minimal reproduction project:

@Calinou Calinou added this to the 3.4 milestone Apr 8, 2021
@Calinou Calinou changed the title Completion doesn't suggest members of a script after : Script editor completion doesn't suggest members of a script after : Apr 8, 2021
@akien-mga akien-mga modified the milestones: 3.4, 3.5 Nov 8, 2021
@akien-mga akien-mga modified the milestones: 3.5, 3.x Jul 2, 2022
@akien-mga
Copy link
Member

This seems partially fixed in 3.x, as the completion does show up for me.
It shows invalid results though, with the actual inner class at the bottom of the list.

So #48037 might still be needed and fix that.

The original issue is still reproducible in the current master branch (e2a3729). CC @Chaosus

@akien-mga
Copy link
Member

This is now fixed in 3.6 by #48037, but as pointed out it's still reproducible for 4.0.

@akien-mga akien-mga modified the milestones: 3.x, 4.0 Dec 12, 2022
@vnen vnen modified the milestones: 4.0, 4.1 Feb 23, 2023
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 22, 2023
@YuriSizov
Copy link
Contributor

Seems to be fixed as of 4.1 beta 3.

image

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

5 participants