New Posts New Posts RSS Feed: Coding Standard Options
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Coding Standard Options

 Post Reply Post Reply
Author
Jaffir View Drop Down
Newbie
Newbie


Joined: 03-Jun-2008
Posts: 6
Post Options Post Options   Quote Jaffir Quote  Post ReplyReply Direct Link To This Post Topic: Coding Standard Options
    Posted: 12-Jun-2008 at 1:45am
Is there a way to change how DevForce spits out code?  For example, i would like for it to spit out code with brackets ({) on separate lines:
 
method foo(int x){
// Code here..
}
 
i want this
 
method foo(int x)
{
// Code here...
}
 
Thanks..
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jun-2008 at 2:25pm
As you probably know, there are options in Visual Studio that let you set these formatting choices.  While we don't honor these settings ourselves when we generate our own code.  It is easy and straightforward to select all of the code that we have generated, and then reformat the code to the standard that you would like to see and use.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down