mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Autocompletion: Remove additional brace from utility function options
This commit is contained in:
parent
e5ccaa79e2
commit
3f0ff0417c
4 changed files with 66 additions and 58 deletions
|
|
@ -1524,7 +1524,6 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context
|
|||
|
||||
for (const StringName &util_func_name : utility_func_names) {
|
||||
ScriptLanguage::CodeCompletionOption option(util_func_name, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION);
|
||||
option.insert_text += "(";
|
||||
if (p_add_braces) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)"; // As all utility functions contain an argument or more, this is hardcoded here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue