Menu

#123 Removal of spaces after if, while and switch statement conditional and brace

1.0
closed
None
2023-05-19
2020-06-10
Avamander
No

For example when the code looks like this:

if (a != b)          {
  return;
}

it should be turned into:

if (a != b) {
  return;
}

Same applies to switches:

switch (character)          {

it should be turned into:

switch (character) {

I was suggested to open this feature request here: https://github.com/arduino/Arduino/issues/10326

Discussion

  • André Simon

    André Simon - 2023-01-27
    • status: open --> accepted
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2023-05-19
    • status: accepted --> closed
     
  • 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.

MongoDB Logo MongoDB