Hello!
Let me introduce you new plugin - define auto-format for C/C++ users. This plugin automatically helps you to edit big multi-line defines just you are typing. It provides two features: - automatically align backslashes - continue backslashes inside multi-line define when you press Enter
now instead
#define SUM(a, b, c) do {\ c = (a)+(b)\ } while(0)
you will get
#define SUM(a, b, c) do { \ c = (a)+(b) \ } while(0)
Enjoy!
https://github.com/geany/geany-plugins/pull/111