Book a Demo

Author Topic: Feature Req: Advanced C++ Source File Gen Options  (Read 3086 times)

Barry_Pearce

  • EA User
  • **
  • Posts: 70
  • Karma: +0/-0
    • View Profile
Feature Req: Advanced C++ Source File Gen Options
« on: September 09, 2004, 09:08:16 am »
Hi Folks,

This request is being emailed to Sparx later on today....

C++ Synchronisation with EA is proving to be a little, shall I say 'awkward'. So much so in fact that we would really like to have more advanced options over the code generation of files instead of just 'replace' or 'sync'.

What we want for C++ is to extend this to

                                             Header   |  Body
-----------------------------------------------------------
Create if Missing.........................o              o
Replace existing code.................o              o
Always syncrhonise....................o              o

o = radio button with one group for the header and another group for the body.

Thes options could perhaps be implemented as an 'advanced' dialog perhaps so as not to interfere with other language users, and of course the current global/per element dual-layering of the options would be preserved as per the other code gen options.

This way we can enforce that ALL header files are ALWAYS overwritten, and that bodies are only created if missing. This resolves the (im sorry to say) less than helpful nature of the synchronisation code...

Obviously for non C++ langs & single file languages (java etc) these changes would not affect anyone - But for those of use finding C++ sync is causing significant amounts of code to be removed, incorrect indentation applied, indents using tabs not spaces even though the CGT use only spaces....incorrect placement of curly-braces etc etc etc.

Any other C++ folks out there interested such a feature too?
« Last Edit: September 09, 2004, 09:10:30 am by Barry_Pearce »

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Feature Req: Advanced C++ Source File Gen Opti
« Reply #1 on: September 10, 2004, 12:18:28 am »
Please add an option for separate locations of header and body files too!

Barry_Pearce

  • EA User
  • **
  • Posts: 70
  • Karma: +0/-0
    • View Profile
Re: Feature Req: Advanced C++ Source File Gen Opti
« Reply #2 on: September 10, 2004, 07:00:46 am »
Already requested some time ago!!

This functionality has been scheduled for a build in the not too distant future AFAIK.