From: khartlage Date: Thu, 20 Mar 2003 20:54:34 +0000 (+0000) Subject: php formatter based on the JDT java formatter (very early version) X-Git-Url: http://git.phpeclipse.com php formatter based on the JDT java formatter (very early version) --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ToolFactory.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ToolFactory.java index 249dbec..ca6331d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ToolFactory.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ToolFactory.java @@ -16,7 +16,7 @@ import java.util.Map; import net.sourceforge.phpeclipse.PHPCore; import org.eclipse.core.runtime.Plugin; -import org.phpeclipse.phpdt.internal.formatter.CodeFormatter; +import net.sourceforge.phpdt.internal.formatter.CodeFormatter; /** * Factory for creating various compiler tools, such as scanners, parsers and compilers. diff --git a/net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/CodeFormatter.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/CodeFormatter.java similarity index 99% rename from net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/CodeFormatter.java rename to net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/CodeFormatter.java index 0366a03..13bbf68 100644 --- a/net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/CodeFormatter.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/CodeFormatter.java @@ -8,7 +8,7 @@ * Contributors: * IBM Corporation - initial API and implementation ******************************************************************************/ -package org.phpeclipse.phpdt.internal.formatter; +package net.sourceforge.phpdt.internal.formatter; import java.io.BufferedReader; import java.io.IOException; @@ -24,8 +24,8 @@ import net.sourceforge.phpdt.core.compiler.InvalidInputException; import net.sourceforge.phpdt.internal.compiler.ConfigurableOption; import net.sourceforge.phpdt.internal.compiler.parser.Scanner; -import org.phpeclipse.phpdt.internal.formatter.impl.FormatterOptions; -import org.phpeclipse.phpdt.internal.formatter.impl.SplitLine; +import net.sourceforge.phpdt.internal.formatter.impl.FormatterOptions; +import net.sourceforge.phpdt.internal.formatter.impl.SplitLine; /**

How to format a piece of code ?

*