I'd like to propose a toggled geany option to auto-indent on Enter within open parenthesis.
if (cond1 &&
__/* and so on */
* Indent new lines to match the position of the last opening parenthesis (lines 2, 3, 7);
* Automatically reduce indentation on closing parenthesis to fit the indentation of it's matching opening one (lines 4, 5, 8).
This appears to have been previously discussed in 2010, and even a patch is provided: http://lists.uvena.de/geany-devel/2010-June/002460.html
Log in to post a comment.