diff options
author | HolonProduction <holonproduction@gmail.com> | 2024-07-08 17:20:43 +0200 |
---|---|---|
committer | HolonProduction <holonproduction@gmail.com> | 2024-07-08 17:53:36 +0200 |
commit | 0abd0ae3641bc121451acdc99cf268ded0de96ce (patch) | |
tree | b4c22e705d0351115951712843fe4d6f4e2ed98c /modules/gdscript/tests/scripts/completion/argument_options | |
parent | f3af22b10b1e64146d48be7726f6395c9a4185e9 (diff) | |
download | redot-engine-0abd0ae3641bc121451acdc99cf268ded0de96ce.tar.gz |
Autocompletion: rework argument options string literal completion
Diffstat (limited to 'modules/gdscript/tests/scripts/completion/argument_options')
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.cfg b/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.cfg new file mode 100644 index 0000000000..be9bd510e1 --- /dev/null +++ b/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.cfg @@ -0,0 +1,5 @@ +[output] +include=[ + {"insert_text": "\"property_of_a\""}, + {"insert_text": "\"name\""}, +] diff --git a/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.gd b/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.gd new file mode 100644 index 0000000000..a8e04a62a7 --- /dev/null +++ b/modules/gdscript/tests/scripts/completion/argument_options/string_literals/argument_options_inside_string_literal.gd @@ -0,0 +1,8 @@ +extends Node + +const A = preload ("res://completion/class_a.notest.gd") + +func _ready() -> void: + var a := A.new() + var tween := get_tree().create_tween() + tween.tween_property(a, "➡") |