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: No autocomplete when overriding user-defined functions #80469

Closed
FractalDiane opened this issue Aug 10, 2023 · 1 comment
Closed

GDScript: No autocomplete when overriding user-defined functions #80469

FractalDiane opened this issue Aug 10, 2023 · 1 comment
Labels

Comments

@FractalDiane
Copy link

FractalDiane commented Aug 10, 2023

Godot version

4.1.1.stable

System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 31.0.15.3179) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)

Issue description

Autocomplete does not seem to work when overriding a parent class's function in a user-made script. I seem to remember this working in Godot 3, but I don't recall it working for any version of Godot 4 I've tried.

image
image

Steps to reproduce

  1. Create the following script:
class_name BaseClass
extends Node

func _virtual_function() -> void:
    pass
  1. Create the following second script:
class_name DerivedClass
extends BaseClass
  1. In the second script, type func _ and see that autocomplete does not suggest _virtual_function from the parent class in the list. Typing more also does not suggest it.

Minimal reproduction project

autocomplete.zip

@KoBeWi
Copy link
Member

KoBeWi commented Aug 10, 2023

This is a missing feature and was never supported.
Proposal: godotengine/godot-proposals#5896

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

No branches or pull requests

2 participants