Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » How to call JDT source formatting (beautify) after generation
How to call JDT source formatting (beautify) after generation [message #643376] Mon, 06 December 2010 16:55 Go to next message
Glenview Jeff is currently offline Glenview Jeff
Messages: 79
Registered: September 2010
Member
I'm an Eclipse plugin development newbie generating Java code with Acceleo and was wondering if there is an easy way to call JDT's source formatting to beautify the generated code.

Thanks!
Jeff
Re: How to call JDT source formatting (beautify) after generation [message #643923 is a reply to message #643376] Wed, 08 December 2010 17:28 Go to previous message
Glenview Jeff is currently offline Glenview Jeff
Messages: 79
Registered: September 2010
Member
Stephane of Obeo pointed me here:

http://stackoverflow.com/questions/2873678/eclipse-jdt-call- correct-indentation-programmatically

http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg2 4101.html

Previous Topic:[Acceleo] Protected block indentation problems
Next Topic:[Xpand] Call Template for Null Object
Goto Forum:
  


Current Time: Fri Sep 19 07:49:13 GMT 2014

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

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