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

[3.x] Code completion is not full for custom functions #27467

Open
smedelyan opened this issue Mar 27, 2019 · 4 comments
Open

[3.x] Code completion is not full for custom functions #27467

smedelyan opened this issue Mar 27, 2019 · 4 comments

Comments

@smedelyan
Copy link

Godot version: 3.1

OS/device including version: Ubuntu 18.04

Issue description:
Code completion does not provide parameter hints for custom functions if they are used from a script other than they are declared in.

# one script
extends Object
class_name KnownClass

func test(param: String):
	pass
# another script
extends Node2D

func _ready():
	var kc: KnownClass = KnownClass.new()
	kc.test("here completion does not show parameter list")

Minimal reproduction project:
repro_cc_custom_func.tar.gz

@Ranoller
Copy link
Contributor

You are right, i can confirm that.... but from long ago. And it´s not consistent, some times code completion doesn´t provide parameters of script self functions once "(" character is reached. And sometimes doesn´t provide autocompletion for self script functions at all.

@smedelyan
Copy link
Author

@Ranoller then the time has come to finally solve this annoying one! =)

@KoBeWi
Copy link
Member

KoBeWi commented Jun 10, 2020

Still happens in ae21b5d
Probably worth to check again after GDScript rewrite.

@HolonProduction
Copy link
Member

Does not apply to 4.x

@HolonProduction HolonProduction changed the title Code completion is not full for custom functions [3.x] Code completion is not full for custom functions Oct 14, 2024
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

6 participants