BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Model view - code syntax

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General)
View previous topic :: View next topic  
Author Message
mohit
Guest





PostPosted: Thu Aug 17, 2006 8:11 am    Post subject: Model view - code syntax Reply with quote



Hi all,
I am using borland developer studio 2006 and coding a project in c#. I have used the Model View to make my classes and from there I have generated the skeleton of my code. I am having problem in syntax. Whenever you generate code using model view the syntax looks like:

private void searchMe( ) {
}

But I want the syntax to be changed like

private void searchMe( )
{
}

How can I do this (i.e. automatically, don't wana do each one manually)? How can I set it as default? I like model view alot because it generates code from class diagram. Please help.....

Thanks
Mohit
Back to top
Craig Farrell
Guest





PostPosted: Fri Aug 18, 2006 5:43 am    Post subject: Re: Model view - code syntax Reply with quote



Hi,

Quote:
private void searchMe( ) {
}

But I want the syntax to be changed like

private void searchMe( )
{
}

I don't think there exists an option to control that.
I usually check the ..\bin\config\TgNet.config to see
all options and I don't see one that looks similar.

--Craig
Back to top
mohit
Guest





PostPosted: Mon Aug 21, 2006 1:21 am    Post subject: Re: Model view - code syntax :( Reply with quote



Thanks Craig for your reply. Its very sad to hear that there is no functionallity to change it.. It simply means that I have to live with it..
Thanks again
mohit


Craig Farrell <cNO_SPAM.please.farrell (AT) insprise (DOT) com> wrote:
Quote:
Hi,

private void searchMe( ) {
}

But I want the syntax to be changed like

private void searchMe( )
{
}

I don't think there exists an option to control that.
I usually check the ..\bin\config\TgNet.config to see
all options and I don't see one that looks similar.

--Craig
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.