You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #75746 from ajreckof/order_autocomplete
Sort code autocompletion with rules
This commit is contained in:
@@ -943,7 +943,7 @@ void CodeTextEditor::_complete_request() {
|
||||
} else if (e.insert_text.begins_with("#") || e.insert_text.begins_with("//")) {
|
||||
font_color = completion_comment_color;
|
||||
}
|
||||
text_editor->add_code_completion_option((CodeEdit::CodeCompletionKind)e.kind, e.display, e.insert_text, font_color, _get_completion_icon(e), e.default_value);
|
||||
text_editor->add_code_completion_option((CodeEdit::CodeCompletionKind)e.kind, e.display, e.insert_text, font_color, _get_completion_icon(e), e.default_value, e.location);
|
||||
}
|
||||
text_editor->update_code_completion_options(forced);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user