[Geany-Users] [plugin] Define auto-format

Павел Рощин roshin at xxxxx
Sat Aug 24 21:12:28 UTC 2013


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)




More information about the Users mailing list