@elextr commented on this pull request.
static void auto_close_chars(ScintillaObject *sci, gint pos, gchar c) { const gchar *closing_char = NULL; - gint end_pos = -1; - - if (utils_isbrace(c, 0)) - end_pos = sci_find_matching_brace(sci, pos - 1);
I investigated what Eclipse does, it autocompletes `{` only when return is typed after it so ``` if(blah){ ``` becomes ``` if(blah){ | } ``` where | is cursor.
This works pretty well, for me anyway, but its significantly different to the current Geany autocomplete. Maybe the second commit using return after `{` can be modified to do autocomplete instead of on `{` additional alternative to current behaviour.