Author Topic: Beautify in Ansi-C disabled: intended?  (Read 2020 times)

at5dapa1

  • Senior Community Member
  • Posts: 285
  • Hero Points: 24
Beautify in Ansi-C disabled: intended?
« on: October 03, 2018, 10:32:06 AM »
I wanted to beautify a c file (mapped to Ansi-C for me) and just noticed that I cannot do it. Do I have to make some settings for it to work?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Beautify in Ansi-C disabled: intended?
« Reply #1 on: October 03, 2018, 01:58:41 PM »
The beautifier isn't enabled for ANSI C.  If I recall correctly, this is for historical reasons.  Unless you go pre-ANSI, and pull out some K & R syntax, I think the C/C++ beautifier can handle it at this point.  We have C89 projects as unit tests for that beautifier. 

But it's not something you'd be able to enable on your end with just some tweaks.  The only way you can run the C/C++ beautifier on the ANSI C file is to change the mode to C/++.