Menu

#10 trim redundant spaces

1.0
closed
nobody
2023-05-19
2007-09-27
softchen
No

First, thank you for your nice tool. A small request, can you please remove redundant spaces between keyword and variable, function name or any name else? For example:

int x;

becomes

int x;

bool convert(char* inBuf, size_t inLen);

becomes

bool convert(char* inBuf, size_t inLen); // leave one space after ","

return x;

becomes

return x;

Thank you a lot.

Discussion

  • Jim Pattee

    Jim Pattee - 2018-01-27

    Ticket moved from /p/astyle/bugs/20/

     
  • André Simon

    André Simon - 2023-05-19
    • status: open --> closed
    • Milestone: --> 1.0
     
  • André Simon

    André Simon - 2023-05-19

    Please check the new release 3.3, it has a new option --squeeze-ws which can be used to remove whitespace.

     

Log in to post a comment.