Kodformateringsfunktion

ID:
org.eclipse.wst.jsdt.core.codeFormatter

Sedan:
2.0

Beskrivning:
Utökningspunkten gör det möjligt för klienter att samverka med nya implementationer av källkodsformaterare.

Konfigurationsmärkord:

<!ELEMENT extension (codeFormatter*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT codeFormatter EMPTY>

<!ATTLIST codeFormatter

class CDATA #REQUIRED

>


Exempel:
Exempel på en implementation av ICodeFormatter:
                                                                       
<extension point="org.eclipse.wst.jsdt.core.codeFormatter">            
<codeFormatter                                                                                              
      class="com.example.MyCodeFormatter"/>                           
 </extension>


Copyright (c) 2000, 2007 IBM Corporation 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