Identifier: org.eclipse.jdt.core.codeFormatter
Description: This extension point provides a mechanism for contributing a code formatter that can be used using the format command in the Java editor.
Configuration Markup:
<!ELEMENT codeFormatter> <!ATTLIST codeFormatter class CDATA #REQUIRED >
class
the class that defines the code formatter implementation.
The class must be a public implementatiom of org.eclipse.jdt.core.ICodeFormatter with a public 0-argument constructor.
Example:
The following is an example of a code formatter extension point:
<extension point="org.eclipse.jdt.core.codeFormatter"> <codeFormatter class="com.example.MyCodeFormatter"/> </extension>
In the above example, the format command will call the format method defined in com.example.MyCodeFormatter.