Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: wtfisgoingoff on April 03, 2020, 05:45:45 am

Title: Can I format comments in C::B?
Post by: wtfisgoingoff on April 03, 2020, 05:45:45 am
Using AStyle can format code,but is there a way to format comments too? I want to align comments,but I found no setting about comments in AStyle plugin


before:


some code   //asdfasdf
some code        //asdfasdf

after:



some code         //asdfasdf
some code         //asdfasdf
Title: Re: Can I format comments in C::B?
Post by: MortenMacFly on April 03, 2020, 08:37:56 am
Please, use the aligner plugin for that purposes. You can configure it easily to do exactly what you want.
Title: Re: Can I format comments in C::B?
Post by: wtfisgoingoff on April 03, 2020, 01:15:12 pm
Thanks a lot.  ;D