New Formatting Options
- Added a "General" and "Formatting" tab to settings
- Added option for "Print size comments"
- Added option for "Print offset comments"
- Print access specifiers changed from boolean to [Disabled, Always, Automatic]
The new automatic behavior of print access specifiers is to always print them for classes, but for structures and unions it only prints if there is a non-public access specifier. This makes it a lot easier to copy-paste things without having to delete all of those pesky public: statements.
Settings has tabs for "General" and "Formatting". Red dots highlight changes.
User can optionally disable size and offset comment generation and also control the bracket formatting option too.
Hey, thanks for the new MR! I'll try to find some time to review it soon!
No rush, I've identified a bug with handling the output of classes today when using the automatic access specifier option. It's supposed to always display them for classes but for some reason public isn't being printed for member variables.
I'll submit a fix soon.
Still working on solving problems but closing for now and will resubmit a PR in the future with all of the changes we're making in the ChimpsAtSea fork.