Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I am trying to get a source code formatter. What i am precisely looking for is something like a command line utility which converts/ formats all java files under one directory. JALOPY has some formatting stuff but is anyone aware of / can point to me to some location where we can get some command line utility to format java source code? By formatting i meant fragments like placing opening braces in the same line as if, etc. Thanks Kannan
Post Follow-up to this messageFor checking source code format you can use Checkstyle [1]. Jalopy also supports code formatting from command line [2] or Ant task [3]. [1] http://checkstyle.sourceforge.net/ [2] http://jalopy.sourceforge.net/plugin-console.html [3] http://jalopy.sourceforge.net/plugin-ant.html Greetings Daniel "Kannan Ekanath" <kannan_ekanath@oracle.com> schrieb im Newsbeitrag news:%Kbwd.3$8Q3.94@news.oracle.com... > Hi, > I am trying to get a source code formatter. What i am precisely looking > for is something like a command line utility which converts/ formats all > java files under one directory. JALOPY has some formatting stuff but is > anyone aware of / can point to me to some location where we can get some > command line utility to format java source code? > > By formatting i meant fragments like placing opening braces in the same > line as if, etc. > Thanks > Kannan
Post Follow-up to this messagethere is an jalopy plugin for eclipse. "Kannan Ekanath" <kannan_ekanath@oracle.com> wrote in message news:%Kbwd.3$8Q3.94@news.oracle.com... > Hi, > I am trying to get a source code formatter. What i am precisely looking > for is something like a command line utility which converts/ formats all > java files under one directory. JALOPY has some formatting stuff but is > anyone aware of / can point to me to some location where we can get some > command line utility to format java source code? > > By formatting i meant fragments like placing opening braces in the same > line as if, etc. > Thanks > Kannan
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.