[Geany-Users] Auto-close quotes and brackets

Lex Trotman elextr at xxxxx
Fri Sep 14 23:06:03 UTC 2018

On Sat, 15 Sep 2018 at 08:46, <e2qb2a44f at prolan-power.hu> wrote:
> For example, in the case of parentheses and
>  fu(8);
> If one enables the "auto-close opening parenthesis" feature, then:
> Instead of typing
>  f u ( 8 ) ; ENTER
> he/she have to type
>  f u ( 8 ARROW_RIGHT ; ENTER
> ?
> Is this all the gain? (The same number of keystrokes..)
> (Or I am missing something?)

Yep. :)

Auto close is not to save typing.

The point of auto close parens and other brackety things is so the
code remains likely to be reasonably valid whilst typing, so symbol
parsers will still work.  The parsers are fairly tolerant of invalid
code (since they don't parse most of it) but they need brackets to
match so they find the right matching one, otherwise they simply go to
end of file and stop missing many of your symbols, and so stopping
type highlighting working while you type.


> --
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list