mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
debugging PathMacroManagerTest
This commit is contained in:
+5
-1
@@ -66,12 +66,16 @@ public class BasePathMacroManager extends PathMacroManager {
|
||||
if (path == null) return;
|
||||
|
||||
String macro = "$" + macroName + "$";
|
||||
if (DEBUG) {
|
||||
System.out.println("BasePathMacroManager.addFileHierarchyReplacements");
|
||||
System.out.println("macroName = " + macroName);
|
||||
}
|
||||
VirtualFile dir = getLocalFileSystem().findFileByPath(path);
|
||||
boolean check = false;
|
||||
while (dir != null && dir.getParent() != null) {
|
||||
path = dir.getPath();
|
||||
if (DEBUG) {
|
||||
System.out.println("BasePathMacroManager.addFileHierarchyReplacements");
|
||||
System.out.println("dir = " + dir);
|
||||
System.out.println("path = " + path);
|
||||
System.out.println("macro = " + macro);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user