Java Formatter

Identifier:
org.eclipse.jdt.core.javaFormatter

Since:
3.11

Description:
This extension point allows clients to supply their own Java source code formatter. The formatter is expected to use the default formatter's options.

Configuration Markup:

<!ELEMENT extension (javaFormatter)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT javaFormatter EMPTY>

<!ATTLIST javaFormatter

id    CDATA #REQUIRED

name  CDATA #REQUIRED

class CDATA #REQUIRED>


Examples:
Example of a declaration of a javaFormatter:

<extension point="org.eclipse.jdt.core.javaFormatter">
   <javaFormatter
         class="myformatter.MyFormatter"
         id="myformatter.javaFormatter"
         name="My Custom Formatter">
   </javaFormatter>
</extension>


Copyright (c) 2014 Google Inc. and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html