Getting VirtualFile from nested archives URL
已回答
Hi! I'm trying to get VirtualFile (or PsiFile eventually) of class inside nested archives. Let's say we have a path like that:
/some_path/custom_archive.abc!/jar_archive.jar!/SomeClass.kt
Unfortunately using just VirtualFileManager#findFileByUrl won't do the job since it's not working with nested archives.
One of the ideas was to get a VirtualFile of path
/some_path/custom_archive.abc!/jar_archive.jar
which I can do using my simple custom AbcFileSystem and then somehow (here's the tricky part) try to get JarFileSystem from it and find SomeClass inside of it.
请先登录再写评论。
Nested archives are not supported in VFS and there are currently no such plans either.