Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: DamonCarr on March 07, 2004, 11:59:45 pm

Title: Code Generation Preview
Post by: DamonCarr on March 07, 2004, 11:59:45 pm
Is there a way to preview code generation before it is actualy saved to a file in version 3.6? I often want to just look at the code BEFORE a file is created...

Thanks,
Damon Carr
Title: Re: Code Generation Preview
Post by: benc on March 11, 2004, 02:56:58 pm
Hi Damon,

There is currently no preview feature for code generation, but we'll consider this suggestion for future versions of EA.

Thanks for the note.

Regards,
Ben
Title: Re: Code Generation Preview
Post by: DamonCarr on March 11, 2004, 03:33:52 pm

Sparx Team,

That would be excellent and (as a developer) I cannot imagine it to be a huge effort on your part. I usually make a mistake in something small and I have to gen, open file, see mistake, fix model.

I'd rather 'preview' code, see error and fix model.

Thanks,
Damon Carr
Title: Re: Code Generation Preview
Post by: angel-o-sphere on March 12, 2004, 04:47:09 am
Hi,

I had a similar request/idea in the suggestions board.

A model check, telling where code generation is likely to be incompleete. E.G. missing types in method arguments.

A model check could place a automaticaly generated note on every diagram with flaws telling what is wrong there.

Regards,
  angel'o'sphere
Title: Re: Code Generation Preview
Post by: DamonCarr on July 16, 2005, 12:59:11 pm
angel'o'sphere,

Excellent Idea!