简体   繁体   中英

C++ Auto Comment Block Tools

Are there any tools (command line or otherwise) that will allow me to define a function comment header of my choosing (not an XML comment) and mass insert into a number of files?

I have some old code that I'm porting that contains virtually no comments whatsoever and I'd like to split the functions up with headings so I can see where they seperate a bit easier. I do have the collapsing icon within VS2010 but that just isn't enough for me.

I almost feel like I need to grab a copy of Lex and Yacc and write some sort of beautifier myself but just don't have the time.

Aha! I think I just answered my own question - UniversalIndentGUI (free) has an "insert comment text from file before function declaration" option! Awesome!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM