Author Topic: Can I format comments in C::B?  (Read 3567 times)

Offline wtfisgoingoff

  • Multiple posting newcomer
  • *
  • Posts: 14
Can I format comments in C::B?
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Can I format comments in C::B?
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline wtfisgoingoff

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Can I format comments in C::B?
« Reply #2 on: April 03, 2020, 01:15:12 pm »
Thanks a lot.  ;D