SlickEdit Community

Archived Read Only Forums => SlickEdit 2018 v23 Beta Discussion => Topic started by: at5dapa1 on October 03, 2018, 10:32:06 am

Title: Beautify in Ansi-C disabled: intended?
Post by: at5dapa1 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?
Title: Re: Beautify in Ansi-C disabled: intended?
Post by: patrick 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/++.