diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-11-10 13:21:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 13:21:37 +0100 |
commit | 0efe6dff5f1f973393fcd453d38336f83542786f (patch) | |
tree | 6cb3dd1a52c5bd206c309a7a500e8db8d5079c1f /modules/gdscript/gdscript_editor.cpp | |
parent | 714dbc368c478f28370f4cd9cb4f15c0d9563e77 (diff) | |
parent | 0ddd4097a649bb0be66924cb3105936390e30917 (diff) | |
download | redot-engine-0efe6dff5f1f973393fcd453d38336f83542786f.tar.gz |
Merge pull request #43350 from gvekan/fix-load-autocomplete
Fix completion for built-in load() function
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index d0acc14a04..a426046797 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2315,11 +2315,6 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c if (GDScriptParser::get_builtin_function(call->function_name) < GDScriptFunctions::FUNC_MAX) { MethodInfo info = GDScriptFunctions::get_info(GDScriptParser::get_builtin_function(call->function_name)); - - if ((info.name == "load" || info.name == "preload") && bool(EditorSettings::get_singleton()->get("text_editor/completion/complete_file_paths"))) { - _get_directory_contents(EditorFileSystem::get_singleton()->get_filesystem(), r_result); - } - r_arghint = _make_arguments_hint(info, p_argidx); return; } else if (GDScriptParser::get_builtin_type(call->function_name) < Variant::VARIANT_MAX) { |