[Geany-Users] Auto-indenting R code

Colomban Wendling lists.ban at xxxxx
Mon Nov 4 16:48:19 UTC 2013


Hi,

Le 03/11/2013 16:28, Frank Harrell a écrit :
> I have been unable to get geany to auto-indent to the right level after
> a previous line ends with {, and to get geany to auto-unindent to the
> right level after the previous line ends with }.  Any pointers appreciated.

We currently miss configurable indentation settings [1], so deciding if
indentation should be based on braces is something chosen in the code,
and apparently it wasn't the case for R.  It's now fixed, since all
examples I could find showed that indeed the language syntax used braces
for blocks just like many languages.

https://github.com/geany/geany/commit/5c22c9d73e14f77959d0de27c8363a1fe8fe8940

Regards,
Colomban


[1] because its a lengthy and complex topic and we didn't yet get an
implementation sufficiently good, simple and flexible for us to be happy
with it.  See the devel list archives for the discussions if you're
interested.


More information about the Users mailing list