-
I have having some problem with this feature too.
As far as I can tell, indent_func_call_param can only be set to true or false, and in both cases it will manipulate the source code. There isn't an option to have uncrustify simply not modify function parameters on a new line. There are cases where I have my parameters pre-aligned, only to have it rearranged by uncrustify.
Another...
2009-07-21 18:13:16 UTC in Uncrustify Code Beautifier
-
Hi Ben,
Thanks for the fix, but I have good news and bad news. It seemed that on revision 1588 the issue is fixed with correct indents showing up inside the body brace. However, indents within #if region outside of the body braces are taken away now.
So instead of
#if COND
____(void)loop;
#endif
I get
#if COND
(void)loop;
#endif
Here's the debug dump
Outside of brace...
2009-07-06 22:47:02 UTC in Uncrustify Code Beautifier
-
I just noticed the whitespace were truncated, here's the code segement with recurring whitespaces replaced by underscroll
{
#if defined(WIN32)
____SYSTEMTIME_______st;
____DWORD____________ThreadId;
#else
____struct timeval___mytv;
____struct tm______* mytm;
____pid_t____________ProcessId;
#endif
#if SOME_COND
____(void) loop;
#endif
}
Here is the last 3 lines after running...
2009-06-29 19:44:19 UTC in Uncrustify Code Beautifier
-
I am getting indent or aligning issues on this block of code, after running uncrustify 0.53. Below is the original code segment, which I want to keep exactly as-is (note the braces).
{
int some_integer
#if defined(WIN32)
SYSTEMTIME st;
DWORD ThreadId;
#else
struct timeval mytv;
struct tm * mytm;
pid_t ProcessId;
#endif...
2009-06-29 19:33:30 UTC in Uncrustify Code Beautifier