Author Topic: Beautify deletes space after cast  (Read 245 times)

LBCEi

  • Senior Community Member
  • Posts: 199
  • Hero Points: 20
Beautify deletes space after cast
« on: February 09, 2020, 03:01:50 pm »
How do I keep Beautify from deleting the space after a cast?

For example:
    p_char = (uint8_t*) addr;

becomes:
    p_char = (uint8_t*)addr;

I want to keep the space.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1253
  • Hero Points: 120
Re: Beautify deletes space after cast
« Reply #1 on: February 10, 2020, 03:14:08 pm »
Should be able to turn that on in the beautifier profile under Spacing -> Expressions -> C casts -> "After closing parenthesis".

LBCEi

  • Senior Community Member
  • Posts: 199
  • Hero Points: 20
Re: Beautify deletes space after cast
« Reply #2 on: February 10, 2020, 05:22:48 pm »
Perfect!  Thanks.