Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Running the Formatter Application

Running the formatter application is as simple as running the org.eclipse.jdt.core.JavaCodeFormatter application from the commandline:

    eclipse -vm <path to virtual machine> -application org.eclipse.jdt.core.JavaCodeFormatter [ OPTIONS ] <files>
    
<files> Java source files and/or directories to format. Only files ending with .java will be formatted in the given directory.

OPTIONS

Description

-config <file>

Use the formatting style from the specified properties file. Refer to Generating a config file for the formatter application for details.

-help

Display the help message.

-quiet

Only print error messages.

-verbose

Be verbose about the formatting job.

Related reference

Code formatter


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire