程式碼格式製作程式

識別碼:org.eclipse.jdt.core.codeFormatter

說明:此延伸點提供一種可提供程式碼格式製作程式的機制, 可讓您在使用 Java 編輯器中的格式化指令時使用。

配置標記:

   <!ELEMENT codeFormatter>
   <!ATTLIST codeFormatter 
      class         CDATA #REQUIRED
   >

範例:

下列範例說明程式碼格式製作程式延伸點:

<extension
	point="org.eclipse.jdt.core.codeFormatter">
	<codeFormatter
		class="com.example.MyCodeFormatter"/>
</extension> 

在上述範例中,格式化指令會呼叫定義在 com.example.MyCodeFormatter 中的 format 方法。

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