Book a Demo

Author Topic: synchronising model with source code  (Read 2085 times)

phil_silicomp

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
synchronising model with source code
« on: October 20, 2006, 05:26:37 am »
Hi

I have a problem with Notes when importing source code and also when I try to synchronise the model with the code.

I can generate nice code that includes my Notes (as class comments, methods comments, ...). The layout of these comments in the source code is the same as what I type in the Notes field. Without making any more modification to the model or the source code, I hit "synchronise model with code" for a class. Then, my Notes for this class get screwed up. Many characters are dropped in the process (CR, *, /). So if the Note was originaly written on three lines (with CR) in EA, after synchronising, the note text is one straight text line. Same problem when I import source code.

I am using build 797. I tried with code in java and C++. Same problem.

Is there something that can be done to prevent this (a fix, or simply an option to prevent importing comments...)?

Thanks
Philippe

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: synchronising model with source code
« Reply #1 on: October 20, 2006, 08:56:46 am »
Try menu Tools / Options / Source code engineering
clear Remove hardbreaks from comments on import

There also other options on this page regarding breaking lines in comments.
Peter

phil_silicomp

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: synchronising model with source code
« Reply #2 on: October 20, 2006, 09:25:34 am »
Thank you!!  Exactly what I was looking for.