Add more autocompletion tests

This commit is contained in:
HolonProduction
2024-06-02 15:52:21 +02:00
parent 705b7a0b0b
commit 48e297c144
28 changed files with 301 additions and 0 deletions
@@ -0,0 +1,21 @@
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"},
; GDScript: self.gd
{"display": "test_signal_1"},
{"display": "test_signal_2"},
{"display": "test_var_1"},
{"display": "test_var_2"},
{"display": "test_func_1"},
{"display": "test_func_2"},
]
@@ -0,0 +1,16 @@
extends "res://completion/class_a.notest.gd"
signal test_signal_1(a)
signal test_signal_2(a: int)
var test_var_1
var test_var_2: int
func test_func_1(t):
pass
func test_func_2(t: int) -> void:
pass
func _init():
t➡
@@ -0,0 +1,21 @@
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"},
; GDScript: self.gd
{"display": "test_signal_1"},
{"display": "test_signal_2"},
{"display": "test_var_1"},
{"display": "test_var_2"},
{"display": "test_func_1"},
{"display": "test_func_2"},
]
@@ -0,0 +1,16 @@
extends "res://completion/class_a.notest.gd"
signal test_signal_1(a)
signal test_signal_2(a: int)
var test_var_1
var test_var_2: int
func test_func_1(t):
pass
func test_func_2(t: int) -> void:
pass
func _init():
self.➡