Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How format java codes using JDT API?(How format java codes using JDT API?)
icon4.gif  How format java codes using JDT API? [message #495211] Wed, 04 November 2009 03:13 Go to next message
Eclipse UserFriend
Hi guys,

I'm using JET2 to generating java codes. But unfortunately, the generated codes are not well formatted. Is there any way to use JDT formatting API to format the codes?
Any suggestion is appreciated. Thanks.
Re: How format java codes using JDT API? [message #495217 is a reply to message #495211] Wed, 04 November 2009 03:29 Go to previous message
Eclipse UserFriend
haozongqi@126.com wrote:
> Hi guys,
>
> I'm using JET2 to generating java codes. But unfortunately, the
> generated codes are not well formatted. Is there any way to use JDT
> formatting API to format the codes?
org.eclipse.jdt.core.ToolFactory.createCodeFormatter(Map)

Dani
> Any suggestion is appreciated. Thanks.
Previous Topic:Java BuildPath Preference Page
Next Topic:plugin to create folder filters
Goto Forum:
  


Current Time: Sat Nov 01 14:35:48 EDT 2025

Powered by FUDForum. Page generated in 0.24207 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top