Add more autocompletion tests
This commit is contained in:
parent
705b7a0b0b
commit
48e297c144
|
@ -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.➡
|
|
@ -0,0 +1,6 @@
|
|||
[output]
|
||||
exclude=[
|
||||
{"display": "Test Category"},
|
||||
{"display": "Test Group"},
|
||||
{"display": "Test Subgroup"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends CPUParticles2D
|
||||
|
||||
@export_category("Test Category")
|
||||
@export_group("Test Group")
|
||||
@export_subgroup("Test Subgroup")
|
||||
|
||||
func _init():
|
||||
➡
|
|
@ -0,0 +1,4 @@
|
|||
[output]
|
||||
exclude=[
|
||||
{"display": "messages"},
|
||||
]
|
|
@ -0,0 +1,3 @@
|
|||
func test():
|
||||
var trans = Translation.new()
|
||||
trans.➡
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
func a():
|
||||
var test := A.new()
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
func a():
|
||||
var test = A.new()
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
func a():
|
||||
var test: A
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
func a():
|
||||
var test: Node = A.new()
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
func a():
|
||||
var test: A = Node.new()
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
var test := A.new()
|
||||
|
||||
func a():
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
var test = A.new()
|
||||
|
||||
func a():
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
var test: A
|
||||
|
||||
func a():
|
||||
test.➡
|
||||
pass
|
|
@ -0,0 +1,13 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
exclude=[
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
var test: Node = A.new()
|
||||
|
||||
func a():
|
||||
test.➡
|
||||
pass
|
|
@ -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"},
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
const A := preload("res://completion/class_a.notest.gd")
|
||||
|
||||
var test: A = Node.new()
|
||||
|
||||
func a():
|
||||
test.➡
|
||||
pass
|
Loading…
Reference in New Issue