Book a Demo

Author Topic: comments template modifications  (Read 2656 times)

David S.

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
comments template modifications
« on: July 31, 2008, 07:30:56 am »
We are evaluating EA w/ Visual Integration
In order to create the first model, we are reversing some former C++ code.
Unfortunately that former code didn't use any standard for comments (attributes, function, etc) and EA reverses only the last line of comment (the line just on top of the definition)
We were wondering if there would be a mean to either:
* change an existing or add a new comment style/template on the C++ settings to suits our need better
* have a different reverse mode that would just take into account all lines of text in between 2 declarations as comments

Any idea?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: comments template modifications
« Reply #1 on: July 31, 2008, 08:36:23 am »
I don't know exactly what your comments look like, but EA reverse engineers any comment less than two lines before a class/method/attribue as the comment for that element.  It interprets multiple single line comments (//) on consecutive lines as the one comment.

None of that is currently configurable.