String filePath = cakeConfig.getPath(CakeIdentifier.View, controllerName, jumpFileName, pluginDirPath);
virtualFile = virtualFileManager.refreshAndFindFileByUrl(FileSystem.getAppPath(psiElement.getContainingFile().getVirtualFile()) + filePath);
if (virtualFile == null) {
if (pluginDirPath != null) {
// Plugin Directory element
VirtualFile pluginDir = virtualFileManager.refreshAndFindFileByUrl("file://" + psiElement.getProject().getBasePath() + "/app/" + cakeConfig.cakeVersionAbsorption.get(CakeIdentifier.Plugin));
if (pluginDir == null)
return PsiReference.EMPTY_ARRAY;
for (VirtualFile dir : pluginDir.getChildren()) {
virtualFile = getVirtualFileByIdentifier(jumpFileName, virtualFileManager, cakeConfig, dir, CakeIdentifier.Element);