Don't trigger refresh of vfs in 'getOutsiderFileOrigin' (EA-209420)
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ object OutsidersPsiFileSupportUtils {
|
|||||||
|
|
||||||
val originalFilePath = OutsidersPsiFileSupportWrapper.getOriginalFilePath(virtualFile) ?: return null
|
val originalFilePath = OutsidersPsiFileSupportWrapper.getOriginalFilePath(virtualFile) ?: return null
|
||||||
|
|
||||||
return generateSequence(VfsUtil.findFile(Paths.get(originalFilePath), true)) {
|
return generateSequence(VfsUtil.findFile(Paths.get(originalFilePath), false)) {
|
||||||
if (it == project.baseDir) null else it.parent
|
if (it == project.baseDir) null else it.parent
|
||||||
}.filter { it.exists() }.firstOrNull()
|
}.filter { it.exists() }.firstOrNull()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user