From c161ee3519a2479b6ad3096c5165f328db36904e Mon Sep 17 00:00:00 2001 From: poohcom1 Date: Mon, 23 Jan 2023 11:35:57 +0700 Subject: [PATCH] Fix autocomplete filter not including substrings --- scene/gui/code_edit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index c977d9d2fbe..b084cb5bea1 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -3088,6 +3088,8 @@ void CodeEdit::_filter_code_completion_candidates_impl() { } code_completion_options.append_array(completion_options_casei); + code_completion_options.append_array(completion_options_substr); + code_completion_options.append_array(completion_options_substr_casei); code_completion_options.append_array(completion_options_subseq); code_completion_options.append_array(completion_options_subseq_casei);