From 25253115389ed90c60972217ae9f141886490c19 Mon Sep 17 00:00:00 2001 From: aXu-AP <1621768+aXu-AP@users.noreply.github.com> Date: Fri, 6 Sep 2024 23:41:32 +0300 Subject: Remove unneeded quotes from autocomplete % nodes Removes unnecessary quotes for suggestions like $"%MyNode". --- .../scripts/completion/get_node/literal_scene/dollar_unique.cfg | 9 +++++++++ .../scripts/completion/get_node/literal_scene/dollar_unique.gd | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.cfg create mode 100644 modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.gd (limited to 'modules/gdscript/tests/scripts') diff --git a/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.cfg b/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.cfg new file mode 100644 index 0000000000..36c150f6e3 --- /dev/null +++ b/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.cfg @@ -0,0 +1,9 @@ +[input] +scene="res://completion/get_node/get_node.tscn" +[output] +include=[ + {"display": "%UniqueA"}, +] +exclude=[ + {"display": "\"%UniqueA\""}, +] diff --git a/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.gd b/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.gd new file mode 100644 index 0000000000..def050e938 --- /dev/null +++ b/modules/gdscript/tests/scripts/completion/get_node/literal_scene/dollar_unique.gd @@ -0,0 +1,5 @@ +extends Node + +func a(): + $➡ + pass -- cgit v1.2.3