How can I use the eclipse indenter from my code?

Posted by Geo on Stack Overflow See other posts from Stack Overflow or by Geo
Published on 2009-06-10T14:37:05Z Indexed on 2010/05/21 4:50 UTC
Read the original article Hit count: 194

Filed under:
|
|

I noticed the eclipse indenter has support for the latest version of java, and it would be nice if I could use that class to indent generated java source code. Is there a way of integrating it ?

EDIT: I need to be able to include the code formatter in my code. No external calls.

EDIT2: I've managed to get it working. You can read the story here. Thanks VonC !

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse