Code Formatter

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
   >

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.

 Copyright IBM Corporation and others 2000, 2002. All Rights Reserved.