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