The code formatter included in the IDE is somewhat limited (or at least not very configurable/customizable). Would it be possible to include into the IDE one of the many open source C code formatters out there? I mean, using/including the source of a beautifier into the IDE source and then having the possibility to configure the beatutifier via dialogs and/or settings file.
Few projects:
- http://www.gnu.org/software/indent/
- http://sourceforge.net/projects/astyle/
- http://sourceforge.net/projects/gcgreatcode/
Thanks, bye.
You can write an add-in DLL for this. It shouldn't be that hard. Look for example at AddIn_GetSourceText() and AddIn_SetSourceText().