X-Git-Url: http://secure.phpeclipse.com

diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/OpenDeclarationEditorAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/OpenDeclarationEditorAction.java
index 6d4e18b..9c35add 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/OpenDeclarationEditorAction.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/actions/OpenDeclarationEditorAction.java
@@ -82,12 +82,15 @@ public class OpenDeclarationEditorAction {
 				IPath path = PHPFileUtil.determineFilePath(filename,
 						currentFile, fProject);
 				if (path != null) {
-					IFile file = PHPFileUtil.createFile(path, fProject);
-					if (file != null && file.exists()) {
-						PHPeclipsePlugin.getDefault().openFileInTextEditor(
-								file.getLocation().toString());
-						return;
-					}
+					//IFile file = PHPFileUtil.createFile(path, fProject);
+					//if (file != null && file.exists()) {
+					//	PHPeclipsePlugin.getDefault().openFileInTextEditor(
+					//			file.getLocation().toString());
+					//	return;
+					//}
+					PHPeclipsePlugin.getDefault().openFileInTextEditor(
+							path.toString());
+					return;
 				}
 			} catch (Exception e) {
 				// ignore