Category: Eclipse Gene De Lisa @ 7:48 am —
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

You can format your code using Eclipse. I know, control shift F.
But did you know you can format your code using Eclipse from a script/batch file?
Export your formatting options to an xml file first then write a batch file
that looks something like this:


java -cp $ECLIPSE_HOME/startup.jar org.eclipse.core.launcher.Main -noupdate -application org.eclipse.jdt.core.JavaCodeFormatter -config format.config.xml $*

Read more about it here.

Sorry, no comments yet.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.