Kodeformateringsprogrammer

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

Fra:
2.0

Beskrivelse:
Dette udvidelsespunkt sætter klienter i stand til at bidrage med implementeringer af nye formateringsprogrammer til kildekode.

Konfigurationskode:

<!ELEMENT extension (codeFormatter*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT codeFormatter EMPTY>

<!ATTLIST codeFormatter

class CDATA #REQUIRED

>


Eksempler:
Eksempel på en implementering af 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