Hi everyone.
Does anyone happen to know how I can influence the method used to import comments? Currently import removes all 'formatting' from comments found for methods and classes it imports or synchronizes: hard line breaks are removed, multiple spaces or tabs are kept, but without the line breaks this has no meaning. Also, the standard commenting characters '/' and '*' are partially removed from the notes, even if they appear within the notes and are thus part of the comment (or, actually, part of the formatting)! Moreover, on code generation the line is broken into multiple lines, using an arbitrary(?) line length.
This is an actual problem for me, because I am refactoring existing C- functions into class methods: on import EA reads the function's header comments from the cpp file, and on code generation it "copies" them into the header. Now the class header contains lots of blocks of mangled comments that are close to unreadable - and removing them isn't really an option either, because they will be regenerated the next time I generate the code...
I'd really like to know
1. how to prevent the obliteration of line breaks on importing comments
2. how to prevent the removal of existing symbols that are either part of the comment delimiters or just part of the formatting
Personally, I don't understand why EA doesn't import multiple line comments verbatim. Changing *anything* just makes it more likely that on code generation the user will *not* get the expected results.