1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Add test for get_node autocompletion

This commit is contained in:
HolonProduction
2024-01-08 22:46:03 +01:00
parent 7d2ca2d8ac
commit fc7d7d3dae
73 changed files with 693 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
[input]
scene="res://completion/get_node/get_node.tscn"
[output]
include=[
; Node
{"display": "add_child"},
{"display": "owner"},
{"display": "child_entered_tree"},
; GDScript: class_a.notest.gd
{"display": "property_of_a"},
{"display": "func_of_a"},
{"display": "signal_of_a"},
]

View File

@@ -0,0 +1,5 @@
extends Node
func a():
$A.

View File

@@ -0,0 +1,14 @@
[input]
scene="res://completion/get_node/get_node.tscn"
[output]
include=[
; Node
{"display": "add_child"},
{"display": "owner"},
{"display": "child_entered_tree"},
; AnimationPlayer
{"display": "autoplay"},
{"display": "play"},
{"display": "animation_changed"},
]

View File

@@ -0,0 +1,4 @@
extends Node
func a():
$AnimationPlayer.

View File

@@ -0,0 +1,14 @@
[input]
scene="res://completion/get_node/get_node.tscn"
[output]
include=[
; Node
{"display": "add_child"},
{"display": "owner"},
{"display": "child_entered_tree"},
; GDScript: class_a.notest.gd
{"display": "property_of_a"},
{"display": "func_of_a"},
{"display": "signal_of_a"},
]

View File

@@ -0,0 +1,5 @@
extends Node
func a():
%UniqueA.

View File

@@ -0,0 +1,14 @@
[input]
scene="res://completion/get_node/get_node.tscn"
[output]
include=[
; Node
{"display": "add_child"},
{"display": "owner"},
{"display": "child_entered_tree"},
; AnimationPlayer
{"display": "autoplay"},
{"display": "play"},
{"display": "animation_changed"},
]

View File

@@ -0,0 +1,4 @@
extends Node
func a():
%UniqueAnimationPlayer.