-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86973 from HolonProduction/tests-batch-1
Add tests for `get_node` autocompletion
- Loading branch information
Showing
72 changed files
with
665 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
extends Node | ||
|
||
signal signal_of_a | ||
|
||
var property_of_a | ||
|
||
func func_of_a(): | ||
pass |
19 changes: 19 additions & 0 deletions
19
modules/gdscript/tests/scripts/completion/get_node/get_node.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[gd_scene load_steps=2 format=3 uid="uid://c8wekfd5ql7bc"] | ||
|
||
[ext_resource type="Script" path="res://completion/class_a.notest.gd" id="1_ldc4g"] | ||
|
||
[node name="GetNode" type="Node"] | ||
|
||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] | ||
|
||
[node name="UniqueNames" type="Node" parent="."] | ||
|
||
[node name="UniqueAnimationPlayer" type="AnimationPlayer" parent="UniqueNames"] | ||
unique_name_in_owner = true | ||
|
||
[node name="UniqueA" type="Node" parent="UniqueNames"] | ||
unique_name_in_owner = true | ||
script = ExtResource("1_ldc4g") | ||
|
||
[node name="A" type="Node" parent="."] | ||
script = ExtResource("1_ldc4g") |
4 changes: 0 additions & 4 deletions
4
modules/gdscript/tests/scripts/completion/get_node/get_node_member_annotated.cfg
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/get_node/literal/dollar.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[output] | ||
include=[ | ||
; Node | ||
{"display": "add_child"}, | ||
{"display": "owner"}, | ||
{"display": "child_entered_tree"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal/dollar.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
%AnimationPlayer.➡ |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/get_node/literal/percent.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[output] | ||
include=[ | ||
; Node | ||
{"display": "add_child"}, | ||
{"display": "owner"}, | ||
{"display": "child_entered_tree"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal/percent.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
$UniqueAnimationPlayer.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_class_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_class_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
$A.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_native_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_native_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
$AnimationPlayer.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/literal_scene/percent_class_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal_scene/percent_class_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
%UniqueA.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/literal_scene/percent_native_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
4 changes: 4 additions & 0 deletions
4
modules/gdscript/tests/scripts/completion/get_node/literal_scene/percent_native_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends Node | ||
|
||
func a(): | ||
%UniqueAnimationPlayer.➡ |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/get_node/local/local.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[output] | ||
include=[ | ||
; Node | ||
{"display": "add_child"}, | ||
{"display": "owner"}, | ||
{"display": "child_entered_tree"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
modules/gdscript/tests/scripts/completion/get_node/local/local.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test = $AnimationPlayer | ||
test.➡ |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/get_node/local_interfered/local_interfered.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[output] | ||
include=[ | ||
; Node | ||
{"display": "add_child"}, | ||
{"display": "owner"}, | ||
{"display": "child_entered_tree"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
modules/gdscript/tests/scripts/completion/get_node/local_interfered/local_interfered.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test := $AnimationPlayer | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...tests/scripts/completion/get_node/local_interfered_scene/class_local_interfered_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
.../tests/scripts/completion/get_node/local_interfered_scene/class_local_interfered_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test := $A | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...ests/scripts/completion/get_node/local_interfered_scene/native_local_interfered_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
...tests/scripts/completion/get_node/local_interfered_scene/native_local_interfered_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test := $AnimationPlayer | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/local_scene/class_local_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
modules/gdscript/tests/scripts/completion/get_node/local_scene/class_local_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test = $A | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
modules/gdscript/tests/scripts/completion/get_node/local_scene/native_local_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
modules/gdscript/tests/scripts/completion/get_node/local_scene/native_local_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test = $AnimationPlayer | ||
test.➡ |
12 changes: 12 additions & 0 deletions
12
modules/gdscript/tests/scripts/completion/get_node/local_typehint/class_local_typehint.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[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"}, | ||
] |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/get_node/local_typehint/class_local_typehint.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Node | ||
|
||
const A := preload("res://completion/class_a.notest.gd") | ||
|
||
func a(): | ||
var test: A = $A | ||
test.➡ |
12 changes: 12 additions & 0 deletions
12
modules/gdscript/tests/scripts/completion/get_node/local_typehint/native_local_typehint.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[output] | ||
include=[ | ||
; Node | ||
{"display": "add_child"}, | ||
{"display": "owner"}, | ||
{"display": "child_entered_tree"}, | ||
|
||
; AnimationPlayer | ||
{"display": "autoplay"}, | ||
{"display": "play"}, | ||
{"display": "animation_changed"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
modules/gdscript/tests/scripts/completion/get_node/local_typehint/native_local_typehint.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test: AnimationPlayer = $AnimationPlayer | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...ipt/tests/scripts/completion/get_node/local_typehint_scene/class_local_typehint_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
7 changes: 7 additions & 0 deletions
7
...ript/tests/scripts/completion/get_node/local_typehint_scene/class_local_typehint_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Node | ||
|
||
const A := preload("res://completion/class_a.notest.gd") | ||
|
||
func a(): | ||
var test: A = $A | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...pt/tests/scripts/completion/get_node/local_typehint_scene/native_local_typehint_scene.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
5 changes: 5 additions & 0 deletions
5
...ipt/tests/scripts/completion/get_node/local_typehint_scene/native_local_typehint_scene.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends Node | ||
|
||
func a(): | ||
var test: AnimationPlayer = $AnimationPlayer | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...ripts/completion/get_node/local_typehint_scene_broad/class_local_typehint_scene_broad.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
6 changes: 6 additions & 0 deletions
6
...completion/get_node/local_typehint_scene_broad/class_local_typehint_scene_broad.notest.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# TODO | ||
extends Node | ||
|
||
func a(): | ||
var test: Node = $A | ||
test.➡ |
14 changes: 14 additions & 0 deletions
14
...ipts/completion/get_node/local_typehint_scene_broad/native_local_typehint_scene_broad.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}, | ||
] |
6 changes: 6 additions & 0 deletions
6
...ompletion/get_node/local_typehint_scene_broad/native_local_typehint_scene_broad.notest.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# TODO | ||
extends Node | ||
|
||
func a(): | ||
var test: Node = $AnimationPlayer | ||
test.➡ |
Oops, something went wrong.